To fix missing installatioin of mediaplayer.wgt and
support additional wgt packages in future, refactor
installation script to install whole apps under
/usr/AGL/apps.
And adding 'sync' because sometimes apps broken
if reboot immediately after installing apps.