[Android] Add CSP support.

Enable CSP control for packaged app by parse CSP content from
manifest.json and adding the CSP content into the http response
header.

Bug=https://crosswalk-project.org/jira/browse/XWALK-692
[Android] Add test for CSP support.

The test set the manifest field script-src with 'self' or
'unsafe-inline' values to disallow/allow change page titles
with the diferent CSP settings.

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

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 testCSP
[Android] Fix the issue of unsupported app.launch.local_path 'http.html'.

There is issue if the app.launch.local_path is defined as the specific
'http.html', in the manifest parser, it is differentiating the web url
from local_path via 'http', this fix is resovling this issue by using
'http:' as the differentating keyword.

BUG=https://crosswalk-project.org/jira/browse/XWALK-985
[application] The application termination via DBUS should consider 'OnSuspend' event handlers.

The application DBUS proxy should consider the fact that an
application might be still running even after its "Terminate"
method is called (if termination mode is 'Normal' and the app
contains 'OnSuspend' handlers) so it still should listen to
'owner' changes. Besides, the DBUS client should be able to
enforce termination - might be needed for example if 'OnSuspend'
event takes too long time and the User wants to stop the app
immediately.
This patch exports a new "ForceTerminate" DBUS method from
application proxy object and modifies its termination logic
accordingly to the requirements described above.
[Android] Fix the missing files issue in xwalk_core_library of M34

After rebasing to M34, xwalk_core_library needs several additional Java
source files to pass the build.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1019
Merge pull request #1598 from pozdnyakov/app_termination_via_dbus

[application] The application termination via DBus
[Tizen][Runtime] Enable CSP supporting for WGT package.
The xwalk runtime should support CSP for Tizen legacy apps when setting
it using <tizen:content-security-policy> tag in WGT config.xml.
Revert "[Android] Enable multiple threads for rasterization"

This reverts commit 7eb4b60ac303d6916958c3b400bd9863a848040b.

Crosswalk will be crashed in DEBUG mode since there is a regression happened
in Chromium 34 if multiple threaded rasterization is enabled.

Conflicts:

	runtime/browser/xwalk_browser_main_parts_android.cc
Merge pull request #1589 from ShDavidliu/Update

[Android] Fix the issue of unsupported app.launch.local_path 'http.html'...
Merge pull request #1609 from hmin/revert-mt-rasterization

Revert "[Android] Enable multiple threads for rasterization"
[Android] Remove a duplicated CommonResources java file

Remove one CommonResources.java and keep the one contained in
org.xwalk.core.xwalk.util package.
Merge pull request #1500 from gaochun/csp

[Android] CSP support.
Merge pull request #1611 from hmin/remove-duplicated-file

[Android] Remove a duplicated CommonResources java file
[Android] Exit with error code when the make apk test cases failed.

Because the trybot requests exit code for main page to check
whether PR passes the make apk test cases. Currently,
the make_apk_test.py only display the error info, but always exit
with 0 even if it failed. So the main page of trybot will always show
tests passed.

Add a function to check the make_apk_test.py's result, and exit
with correct code according to this result.
Merge pull request #1594 from junmin-zhu/trybot

[Android] Exit with error code when the make apk test cases failed.
Merge pull request #1613 from takethathe/tizen_csp

[Tizen][Runtime] Enable CSP supporting for WGT package.
Xwalk can not be launched with empty url.

The constructor "GURL()" will create an invalid Url rather than "about:blank".
That causes xwalk failed to be launched with empty url, for example:
command "./xwalk" will be failed.

BUG=https://crosswalk-project.org/jira/browse/XWALK-958
Merge pull request #1621 from iKevinHan/emptyurl

Xwalk can not be launched with empty url.
Merge pull request #1615 from huningxin/fix_core_library

[Android] Fix the missing files issue in xwalk_core_library of M34
Revert "Xwalk can not be launched with empty url."

This has caused 6 tests to fail on Linux:

xwalk_browsertest:
        LoadGeolocationPage
        LoadURLAndClose
        TestMultiApp
xwalk_extensions_browsertest:
        CreateNewRuntimeAndNewRP
        OpenLinkInNewRuntimeAndNewRP
        OpenLinkInNewRuntimeAndSameRP

This reverts commit 723ccbedc0e0111e3da212b3b2831f59ac6ad5a9.