[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
[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] 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
[Android] Temporarily disable CSP support and related test.

A known issue was found in the common code of csp implementation
both for Android and Tizen, so disable the bridge code in android
until the issue was fixed.

bug=https://crosswalk-project.org/jira/browse/XWALK-1022
[Android] Fix the issue onPageFinished callback would be called twice

This commit contains the following changes:

o Only rely on didStopLoading to call onPageFinished callback. Generally, both
  didStopLoading and didFinishLoad callbacks are the same except
  1) didStopLoading will also be called for extended protocols, like mailto:,
     tel: etc;
  2) didStopLoading will be called if user clicks "X" button on the browser UI.

o Loading javascript: URL should not cause onPageFinished calling since it is
  assumed that javascript: url is executed in an existing JS context in a web
  page already loaded.

o Port some test cases from android_webview/ for onPageFinished test.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1017
TEST=org.xwalk.core.xwview.test.XWalkClientOnPageFinishedTest
Merge pull request #1605 from alexshalamov/split_mobile_and_generic_tizen

[Tizen] Make better split between Tizen and Tizen mobile codebase
Merge pull request #1619 from gaochun/csp2

[Android] Temporarily disable CSP support and related test.
Merge pull request #1610 from hmin/duplicated-onpagefinished

[Android] Fix the issue onPageFinished callback would be called twice
Merge pull request #1602 from ShDavidliu/UpdatePackageName

[Android] Support package file name including space character.
Merge pull request #1585 from shawngao5/master

[Android] Fix unable to get the "messaging" permission on Android OS
[Android] Launch Screen 2nd-step implementation

This is the second step implementation of Launch Screen feature.
As the spec defined, the launch screen contains 3 layers:
1. background color
2. background image
3. foreground image
It's impossible to show all these layers together when user tap on the icon,
because of the limition of Android drawable system.
And the actual flow will be as below:
Display the first 2 background layers, and then display the 3rd layer foreground image.

Below is the description for the implementation in general:
Build scrip:
1. Parse manifest.json and customize launch screen
   1) Generate drawable: launchscreen_bg.xml
   2) Parse backgroud and foreground image.
2. Copy background image and foreground to res folder.
Runtime:
1. Create a new layout to display 9-piece format foreground image.
2. Parse image-border from manifest.json, and customize the layout.

TODO:
On feature missed in this patch:
'ready_when' = 'user-interactive', This feature is currently under investigation,
and need to hook from content side, will support it in another patch.

Spec: https://docs.google.com/a/intel.com/document/d/17PuNuHRTQuREUpaCvj-eEx7uYi2avd-VW-oaMXMpvwo/edit?pli=1#
Design Doc: https://docs.google.com/a/intel.com/document/d/1YLajlZC7CkBOtEvzD6p6yeBr0HrPsaIGX8Eqhr3oTF4/edit#heading=h.mfsu3bk9566e
Bug: XWALK-637