[Android] Move the remaining tests to internal shell test

Move HandleActionUriTest.java, SetDatabaseEnabledTest.java,
SetDomStorageEnabledTest.java, SetNetworkAvailableTest.java, UserAgentTest.java
from core shell test to core internal shell test.
[Android] Remove the unnecessary code in ShouldInterceptLoadRequestTest.java

As the javascript are enabled by default,
no need to set it to enable explicitly.
[Android] Remove the internal dependency in XWalkViewTestBase.java

As all internal dependency test is moved into internal test,
this code is unnecessary now, just remove it.
[Android] Copy the right Device Capabilities API

It was copying the one for other platforms than Android.
[Android] Fix the issue of accessing asset resources with unnormalized URI.

Web applications may have unnormalized URI (additional slashes), which causes
failure of accessing them with AndroidProtocolHandler.
The fix was in Crosswalk, but https://github.com/crosswalk-project/crosswalk/commit/12b98a890de27d1ec96eb7f10558010fc7412e58
reverts it. So moving it back.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2226
Merge pull request #2260 from jinbang/move_test_to_internal2

[Android] Move the remaining tests to internal shell test
[Tizen][Runtime] Do not require to set the application version in config.xml.

On Tizen platform, a Tizen wgt web application is not required to have a
'version' field in config.xml, the Crosswalk runtime should follow this behavior.

BUG=XWALK-2220
Merge pull request #2274 from darktears/fix-xwalk-core

[Android] Copy the right Device Capabilities API
Merge pull request #2278 from takethathe/not_check_version

[Tizen][Runtime] Do not require to set the application version in config.xml
[Android] Implement the interface for onScaleChanged.

This patch is to add the bridge code for onScaleChanged.
In xwalk_render_view_host_ext.cc, it receives the event about page
scale factor changed, transfers the factor to XWalkContentsClientBridge.
Merge pull request #2279 from sqliu/fix-asset

[Android] Fix the issue of accessing asset resources with unnormalized U...
[Linux] Fixed the regression issue that failed to start xwalk from command line.

In the patch 053869eb we set the url_spec into manifest using
keys::kStartURLKey instead of keys::kURLKey in
ApplicationData::Create, and we forget to replace the
Application::URLKey by Application::StartURLKey when launching
application from url in ApplicationSystem::LaunchWithCommandLineParam,
in this case we would fail to lunch xwalk on Linux from command line
with a startup url as its argument.
Merge pull request #2281 from jondong/application-data

[Linux] Fixed the regression issue that failed to start xwalk from comma...
Merge pull request #2275 from wuhengzhi/onScaleChanged_bridge

[Android] Implement the interface for onScaleChanged.
Bump version to 8.37.188.0
[Android] Use ant and xwalk_core_library for make_apk

Previously, we are copying the python script from gyp
and reproduce the steps gyp generated to build
xwalk_app_template_apk to make apk.

It's hard to maintain and now xwalk_core_library is
mature enough to be used as Android Library Project.

This commit uses ant and xwalk_core_library to make
apk to replace previous approach.

The changes including:
1. The app packaging tool structure:
 a. Assets, jars and template code are now put in
    "template", jars includes xwalk_runtime_java
    and xwalk_app_runtime_java.
 b. xwalk_core_library will be put in root folder of
    packaging tool.
 c. Scripts used by gyp generated commands are removed.
2. When make apk:
 a. Embedded Mode:
  1) Copy template to app folder named according to
     input app name.
  2) Copy xwalk_core_library into app folder.
  3) Move arch folders under "app/xwalk_core_library/libs/"
     to "app/native_libs/<arch>"
  4) For each target arch:
   4.1) Run "android update lib-project" for app/xwalk_core_library.
   4.2) Run "android update project" for app.
   4.3) Remove all subfolder in "app/xwalk_core_library/libs",
        to make sure it will only contains one arch folder after 4.4).
   4.4) Move back the needed native library for target arch back.
        it's actually partly reverting step 3).
   4.5) Write down input keystore options to ant.properties.
   4.6) Run "ant release" in app.
   4.7) Copy and rename the built apk out to root folder of
        packaging tool.
 b. Shared Mode:
   1) Copy template to app folder named according to
      input app name.
   2) Remove xwalk_runtime_java.jar in "app/libs".
   3) Run "android update project" for app
   4) Write down input keystore options to ant.properties.
   5) Run "ant release in app.
   6) Copy and rename the built apk out to root folder of packaging
      tool.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2128
[Android] Passwords of keystore as argument should not be mandatory

When make apk, if user wants to use their own keystore, they must
provide the password as command line argument for now.
Developers may have security concern for this.

This commit allows developers to input password while making apk.

Thus, if developer still specifies password in command line, it will
be passed to ant via commandline argument instead of ant.properties
file.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2138