[Android] Support xwalk_host member for manifest.json

The xwalk_host member allow application developer to add URL
match patterns as white list for allow Cross-Origin access.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1353
[Android] Add tests for Cross-Origin XHR.

For embedded client test:
1. install XWalkRuntimeClientEmbeddedShell.apk
2. python build/android/test_runner.py instrumentation \
--test-apk=XWalkRuntimeClientEmbeddedTest -v -f \
testCrossOriginXhr

For shared client test:
1. install XWalkRuntimeLib.apk
2. install XWalkRuntimeClientShell.apk
3. python build/android/test_runner.py instrumentation \
--test-apk=XWalkRuntimeClientTest -v -f testCrossOriginXhr
[Android] Fix crash issue caused by activity lifecycle

When use UI related callbacks for Embedded API, need to check XWalkView owner activity status.
Otherwise it will cause crash.

BUG=XWALK-1461
[Android] Fix navigation forward issue

Missed break in switch case statements.

BUG=XWALK-1475
Merge pull request #1800 from gaochun/cross-origin

Cross origin
Bump version to 6.35.124.0
[Android] Export xwalk core library as a jar

Previously, xwalk core library is containing bunches
of java source code, even including many generated
code. It's hard to maintain after chromium rebase.

With this commit, merge_jars.py will help merge all the
jars from chromium and xwalk component needed by xwalk
core library into one xwalk_core_library_java.jar.

Only two things missing:
1. The R.java for resource mapping still needs to be copied
separately, because they are not included in any jar.
2. As well as the NativeLibraries.java.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1234
Merge pull request #1839 from kurli/navigation-forward

[Android] Fix navigation forward issue
Merge pull request #1830 from kurli/check-xwalkview-status

[Android] Fix crash issue caused by activity lifecycle
[Android] Fix that crosswalk crashes if the application name has a space in it

Replace the space in the application name with '_'.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1476
[Android] Remove public modifier for some internal classes.

There are some internal classes which should not be exposed for external usage.
This patch fixes some of them, including:
1. Merge XWalkResourceClientImpl.java and XWalkUIClientImpl.java into
XWalkResourceClient.java and XWalkUIClient.java.
2. Remove the public modifier for XWalkContent. All tests are based on
XWalkView.java.
3. Fix bugs for 'XWalkView.load()' if the data is set.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1481
[Android] Use library Context to get Inflater for shared mode

For color picker on Android, it uses ColorPickerAdvanced and
ColorPickerSimple which is customized view. So the inflater
should contain the ClassLoader which has loaded the relevant
classes. As for shared mode, it's library Context.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1534
Merge pull request #1842 from jinbang/fix_app_name_with_space

[Android] Fix that crosswalk crashes if the application name has a space...
Merge pull request #1838 from wang16/core_library_jar

[Android] Export xwalk core library as a jar
Bump version to 6.35.125.0
Merge pull request #1844 from wang16/color_picker_crash

[Android] Use library Context to get Inflater for shared mode
Merge pull request #1841 from yongsheng/embeddingapi

[Android] Remove public modifier for some internal classes.
[Tizen][Runtime] Enable to open navigation link in system web browser
when it's blocked by CSP mode.

On Tizen platform, the allow-navigation policy will control the behavior
for opening a navigation link in web app, if the navigation link domain
is not list in it, the action will be blocked and the link should be
opened in system web browser.

The patch does some reworks, since there are some issues when using the method
ContentBrowserClient::CanCommitURL, if it returns false, the render process
will be killed, and web application will crash, and it will be fixed in
this patch.