[SysApps][Android] Fix several issues on messaging api

1) Correct addEventListener from "messaging" to "messaging.sms".
2) Each PendingIntent should have different requestCode to identify itself. If
using same code, the extra data field of PendingIntent instance will be replaced
by the new one. Then system calls the intent callback function only once.
3) In unit test page, move the verification steps into send.then
callback instead of calling after send function.

BUG=https://crosswalk-project.org/jira/browse/XWALK-940
[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
[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
[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
[Tizen] Make better split between Tizen and Tizen mobile codebase

There are generic and mobile specific parts of the code that could
be split or shared. This patch enables -Dtizen=1 by default and moves
mobile specific code under tizen_mobile and OS_TIZEN_MOBILE flags.
[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.
[Android] Support package file name including space character.

If package file name includes space character, this character
will be replaced with '_', according to the new user requirement,
blank character should be supported, this fix resolves this issue
by removing the space from the invalid characters.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1006
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.
[Linux][Tizen]Fix the bug XWALK-956:Remote debugging not work in crosswalk/Tizen_IVI.

Set IP address in commandline to INADDR_ANY instead of "127.0.0.1".
This allowed the server to receive packets destined to any of the interfaces.

BUG=https://crosswalk-project.org/jira/browse/XWALK-956
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.