[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
[Tizen] Add an option for "xwalk-launcher" to enalbe remote debugging
only for single applictaion

Usage: xwalk-launcher -d APP_ID

If the remote-debugging-mode of xwalk service is opened by command
"xwalkctl -d DEBUGGING_PORT" or in "/usr/lib/systemd/user/xwalk.service",
the application launched with "-d" will be debuggable, and other applications
are still kept un-debuggable.

On Linux, the command "xwalk --remote-debugging-port=PORT URL" still launchs
a debuggable web page as it does before.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2058
[Android] Fix the encode error for writing DBCS.

This patch is to fix the encode error for writing description with
DBCS and name is not defined error.
In python3, "unicode" is deprecated, the value should not be encoded.

BUG=BUG=XWALK-2382, XWALK-2398
[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().
Merge pull request #2339 from iKevinHan/xwalk-2058-2

[Tizen] Add an option for "xwalk-launcher" to enalbe remote debugging only for single applictaion
[Tizen] Remove Application running check during uninstallation

There is no need to have an explicit logic in xwalkctl  to kill
the runnning app if it is being uninstalled.

Pkgmgr-server has the responsibility to kill an app if there is
a User request to uninstall it.

BUG=XWALK-2418
Merge pull request #2369 from pozdnyakov/Remove_terminate_if_running

[Tizen] Remove Application running check during uninstallation
[SysApps] Initialize UDPSocketObject's members in order.

Fixes a -Wreorder warning:

In file included from ../../../../home/abuild/rpmbuild/BUILD/crosswalk/src/xwalk/sysapps/raw_socket/udp_socket_object.cc:5:0:
../../../../home/abuild/rpmbuild/BUILD/crosswalk/src/xwalk/sysapps/raw_socket/udp_socket_object.h: In constructor 'xwalk::sysapps::UDPSocketObject::UDPSocketObject()':
../../../../home/abuild/rpmbuild/BUILD/crosswalk/src/xwalk/sysapps/raw_socket/udp_socket_object.h:54:33: warning: 'xwalk::sysapps::UDPSocketObject::resolver_' will be initialized after [-Wreorder]
   scoped_ptr<net::HostResolver> resolver_;
                                 ^
../../../../home/abuild/rpmbuild/BUILD/crosswalk/src/xwalk/sysapps/raw_socket/udp_socket_object.h:48:32: warning:   'scoped_refptr<net::IOBuffer> xwalk::sysapps::UDPSocketObject::read_buffer_' [-Wreorder]
   scoped_refptr<net::IOBuffer> read_buffer_;
                                ^
../../../../home/abuild/rpmbuild/BUILD/crosswalk/src/xwalk/sysapps/raw_socket/udp_socket_object.cc:25:1: warning:   when initialized here [-Wreorder]
 UDPSocketObject::UDPSocketObject()
 ^
[Tizen] Fix bug on intalling widget failed

It is caused by temp value in local function used by outer function.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2403
[Tizen] Fix bug on checking item of reference

It is caused by wrongly computing length of widget base path.
Merge pull request #2370 from rakuco/fix-Wreorder-warning

[SysApps] Initialize UDPSocketObject's members in order.
Merge pull request #2371 from xuzhang/widgetsignature

[Tizen] Fix bug on intalling widget failed
Bump version to 9.37.197.0
[Android] Expose setNetworkAvailable method to XWalkView for CordovaWebView.

To keep compatible with CordovaWebView, XWalkView.setNetworkAvailable
is required.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2385
Merge pull request #2368 from gaochun/2385

[Android] Expose setNetworkAvailable method to XWalkView for CordovaWebView