[Android] Add test cases for XWalkJavascriptResult.

This patch is to add test cases for the interfaces in
XWalkJavascriptResultInternal.java.
[Android] Add test case for hasEnteredFullscreen and leaveFullscreen.

This patch is to add test case for hasEnteredFullscreen() and
leaveFullscreen().
Click the button to enter fullscreen, exit fullscreen or call leaveFullscreen,
verify the value of hasEnteredFullscreen().
[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] Modify NativeAppWindowTizen's header file

The current file doesn't use any type defined in screen_orientation_provider.h
It included it because of type blink::WebScreenOrientationLockType. So use
WebScreenOrientationLockType.h instead of screen_orientation_provider.h which
is easy to understand.
[Tizen] Bug fix on installing signed widget crash

Originally I will parser node of transform, digital method and digital
hash from signature.xml.  Original parser part causes the crash.  Now
these code will be removed. Because I find there is an API from xmlsec1
library to perform this functionality. Also  signature_types.h will be
removed from repo.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2396
[Tizen] Bug fix on installing invalid widget

The xwalkctl should stop installing invalid widget, Currently there is
no check whether the package is valid package.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2396
Merge pull request #2356 from xuzhang/widgetsignature

[Tizen] Fix two bugs on installing widget
Merge pull request #2344 from wuhengzhi/fullscreen_auto_test

[Android] Add test case for hasEnteredFullscreen and leaveFullscreen.
[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
[Tizen] Enable Alsa support

BUG=XWALK-2262
[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
Merge pull request #2345 from qjia7/orientation

Change the header file
Merge pull request #2336 from qjia7/alsa

Enable Alsa support
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.