[PATCH] fixed xwalk rewritting --use-gl option

Previously if user specified --use-gl option, it was ignored.

Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@globallogic.com>
Packaging: re-enable XDG_Shell for Tizen
The Weston has been upgraded to 1.5 and XDG_Shell basics for Weston 1.5 have been in oz-wl.
So we think it's time to re-enable it now. Meanwhile some related issues are under fixing. More changes will come in.
[Android] Add test cases for XWalkJavascriptResult.

This patch is to add test cases for the interfaces in
XWalkJavascriptResultInternal.java.
[Android] Fix that getBridge() method will be in javadoc

getBridge() is for internal to use, should not be public.
Update the generator script.
[Android] Embedding API 3.0: XWalkPreferences

Add following APIs:
public static final String JAVASCRIPT_CAN_OPEN_WINDOW;
public static final String ALLOW_UNIVERSAL_ACCESS_FROM_FILE;
public static final String SUPPORT_MULTIPLE_WINDOWS
public static void setValue(String key, String value);
public static void setValue(String key, int value);
public static boolean getBooleanValue(String key);
public static String getStringValue(String key);
public static int getIntegerValue(String key);

Deprecated API:
public static boolean getValue(String key);

BUG=https://crosswalk-project.org/jira/browse/XWALK-2376
[Android] Enable the feature for onRequestFocus.

This patch is to enable the feature for onRequestFocus().
Call onRequestFocus() in activateContents().
[Android] Add test case for onRequestFocus.

This patch is to add test case for OnRequestFocus().
[Android] Add support of getting mime type for app url scheme.

This patch is to add support of getting mime type for app url scheme.
As crosswalk supports app scheme and the local path in "iframe" was
loaded with "app://", so add conditional to get the related mime type.
The app scheme was removed in commit
12b98a890de27d1ec96eb7f10558010fc7412e58.

BUG=XWALK-2300, XWALK-2301
[Android] Add onStart and onStop to XWalkExtensionClient

Added the onStart() and onStop() method in XWalkExtensionClient,
and also added these two functions in the related classes to
make it work for XWalkExtensionClient. Now extension developer
can override the onStart() and onStop() when the activity's
onStart() and onStop() get triggered.

BUG=XWALK-1708
Merge pull request #2383 from wuhengzhi/backgroud_with_no_instrinsic_size

[Android] Add support of getting mime type for app url scheme.
Merge pull request #2353 from wang16/reflection_layer

[Android] Fix that getBridge() method will be in javadoc
Merge pull request #2372 from jondong/onStart

[Android] Add onStart and onStop to XWalkExtensionClient
[Runtime] Add "-c" option for xwalkctl for restarting aborted install/update tasks.

Crosswalk runtime should have a mechanism to restart the aborted install or
update tasks which are stopped by accident like power off. This patch related to
bug: https://crosswalk-project.org/jira/browse/XWALK-1565

How to use:
========
$ xwalkctl --continue
Merge pull request #2341 from wuhengzhi/xwalk_js_result_test

[Android] Add test cases for XWalkJavascriptResult.
Merge pull request #2375 from takethathe/restart_task

[Runtime] Add "-c" option for xwalkctl for restarting aborted install/update tasks
Multi user features :

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

BUG=XWALK-2249

Change-Id: I5be59d0264aed84f708273b58061c8834dd63404
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Merge pull request #2298 from eurogiciel-oss/multiuser_xwalk_2249

Multi user features :
Merge pull request #2354 from wang16/embedding_api_3

[Android] Embedding API 3.0: XWalkPreferences
[Android] Keep package path for the generated java files

It will be convenient for IDE like eclipse to debug for
those source files.
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