[Android] Fix the build issue caused by different Android OS Version.

Since different Android APIs are imported in different Android OS version,
the OS version with lower API level uses the API in high API level, which
causes issue. This fix resolves the issue by adding the control condition
in the API uses of different API levels.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1081
Merge pull request #1657 from ShDavidliu/APILevel

[Android] Fix the build issue caused by different Android OS Version.
[Android] Split crosswalk into core layer and runtime layer.

Originally the two layers are compiled into one Java package. It needs to
split them into two different directories for building because core will
be published as an Android library without runtime layer code.
Besides that, there are also 2 major changes:
1. Move Java extension mechanism and extensions inside core layer.
2. Change the 'runtimelib' to 'runtime_lib'.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1041
Merge pull request #1649 from yongsheng/fix1041

[Android] Build crosswalk into core layer and runtime layer respectively...
[Android] Change targetSdkVersion from 17 to 19 for AndroidManifest.xml.

AndroidManifest.xml of all Android projects should be changed to build
with Android 19 API and SDK.
Fix multiple crashes of xwalk_browsertest in Debug mode

Runtime is responsible for creating and destroying the ui::Compositor through
NativeAppWindow. So, we should call window Close() before discarding the
Runtime and we should wait for the window is actually closed so that the
compositor is deleted normally (Credits to @nagineni for the preliminary
analysis).

Another problem which is fixed by this patch is the early return from the
"XWalkBrowserMainParts::PreMainMessageLoopRun" method if application system
managed to handle command line arguments as this did not take into account
the "parameters_.ui_task". This problem led to hanging of some browser tests
that were using command line arguments e.g. "ApplicationOnInstalledEventTest".

https://crosswalk-project.org/jira/browse/XWALK-1014
Merge pull request #1655 from pozdnyakov/Fix_browser_tests_crashes

Fix multiple crashes of xwalk_browsertest in Debug mode
Modify ApplicationMultiAppTest test

Modify ApplicationMultiAppTest test so that it won't fail
when XWalk start up URL changes to "about:blank"
(https://github.com/crosswalk-project/crosswalk/pull/1577).
Merge pull request #1660 from pozdnyakov/modify_ApplicationMultiAppTest

Modify ApplicationMultiAppTest test
Merge pull request #1659 from yongsheng/api19

[Android] Change targetSdkVersion from 17 to 19 for AndroidManifest.xml.
[Android] Allow extension manager to load extension js from res/raw

This is step one of getting rid of assets for xwalk_core_library.
Because assets are not supported well for android library project.

Now XWalkExtensionManager will load extension js files from res/raw
first for internal extensions, then from assets if not found.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1084
Merge pull request #1658 from wang16/pak_res_raw

[Android] Allow extension manager to load extension js from res/raw
[Runtime] Application should be terminated before uninstall or update.

The running application should be terminated when intend to uninstall or
update.

BUG=XWALK-945
FEATURE=XWALK-1060
Merge pull request #1625 from takethathe/terminate

[Runtime] Application should be terminated before uninstall or update.
Fix "XWalkExtensionsIFrameTest.IFrameUsingDocumentWriteShouldNotCrash" test failure

The "XWalkExtensionsIFrameTest.IFrameUsingDocumentWriteShouldNotCrash"
test failed on Linux due to some pending events left after
"xwalk_test_utils::NavigateToURL()". The pending events were
prosessed after the corresponding web contents had been
already destroyed causing the crash.
Merge pull request #1664 from pozdnyakov/Fix_IFrameUsingDocumentWriteShouldNotCrash

"XWalkExtensionsIFrameTest.IFrameUsingDocumentWriteShouldNotCrash" test failure
Bump version to 5.34.95.0
[Android] Fix the regression issue of http authentication on chromium 34.

Based on chromium 34, the http authentication cannot work, while
it works on chromium 32, this is because Chromium 34 starts to
support the out-of-process iframe, RenderViewHost is replaced by
RenderFrameHost, while in XwalkLoginDelegate, webcontents is still
gotten via the RenderViewHost, which causes the corresponding UI
thread for http authentication not to work. This fix resolves this
issue by replacing RenderView with RenderFrame for http authentication.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1088
[Tizen][Runtime] Fix session bus issue under service mode.

Tizen 3.x and Tizen 2.x have different DBUS_SESSION_ADDRESS values.
For Tizen 2.x, DBUS_SESSION_ADDRESS points to
'/run/user/$USERNAME/dbus/user_bus_socket',
while for Tizen 3.x, DBUS_SESSION_ADDRESS points to
'/run/user/$UID/dbus/user_bus_socket'.

Since Crosswalk switches to Tizen 3.x, we need to use the latter one.

BUG=XWALK-1112
[IVI][Runtime] Fix unable to install application on Tizen IVI 3.0 image.

The package install/uninstall/update for Tizen are designed to integrate
with AMD (Application Management Daemon) on Tizen mobile 2.x, not
compatible with Tizen IVI 3.0.

This is a temporary solution to revert to use macro OS_TIZEN_MOBILE, this
means install/uninstall/update won't work with AMD on Tizen IVI. We'll
add that support back later.

BUG=XWALK-1074