Backendlib

This change provides backend installer and library for tizen platforms installer.
This enables user to run pkgcmd (actually pkgcmd.real by now) with option described below
to perform installation/uninstallation task.

About implementation:
 - global instalaltion of app is to be done in other issue/PR.
 - reinstall option will be fixed in separate issue/PR,
 - TODOs in wrapper script will be fixed after pkgmgr being fixed,
 - Calculating app size (part of backendlib) will be dispatched in separate issue/PR,
 - some refactoring about pkgid (it was needed),
 - xwalkctl has some new options for tizen build,
 - backend installer gets pkgid for uninstallation, not app_id (so xwalkctl handles both now),

(non global installation) -> pkgmgr-server need fix to switch user, xwalkctl needs hanlde root
(basic) -> installation/uninstalltion, amd-related options need investigation

TASK=XWALK-1731

[Status]
 --install           - works
 --uninstall         - works
 --reinstall         - fails
 --clear             - (not tested)
 --move              - (not tested)
 --getsize           - (not tested)
 --getsize-type      - (not tested)
 --list              - works
 --show              - works
 --app-path          - works
 --check             - (not tested)
 --kill              - (not tested)
 --descriptor        - (not tested)
 --quiet             - works

[Verification]
 - download apps [wgt,xpk] on device,
 - run:  cp /usr/dbspace/.appsvc.db /home/app/.applications/dbspace/
 - run:  chown app:users /home/app/.applications/dbspace/.appsvc.db
 - (use quiet option for all commands)
 - run: pkgcmd.real -i -t wgt -p ${package} -q #installation should success
 - run: pkgcmd.real -d -n ${id} -q #uninstallation should success
 - run: pkgcmd.real -l -t ${type} #rpm, xpk, wgt apps should displayed
 - run: pkgcmd.real -s -n ${id} -t ${type} #information should be displayed

Change-Id: I1052edd5c84cb2e5b9218b255fe4214285d396e5
Multi user features

->Use Usr App related fonctions instead of Global App related Functions
->Manage properly icon path for each user

BUG=XWALK-2249

Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>

Conflicts:
	application/common/application_storage_impl_tizen.cc
	application/tools/tizen/xwalk_package_installer_helper.cc

Rebased: https://github.com/eurogiciel-oss/crosswalk/commit/e4d74d85c8776c57829e92459c6ac184235b24ce

Change-Id: I2526fad3a0c64018b2fb33a61b3281481c69bdba