[Android][Tizen] Generate error messages from network error code.

Generate detailed error message from network error code.
For Android, it will popup a dialog contains the error message.

TODO:
1) The error page is not supported currently.
   Check whether it's needed in runtime.
2) The translations in grd file are missed.

BUG=XWALK-1274
[Tizen IVI] Support landscape window orientation by default

Before the change 'NativeAppWindowTizen' hardcoded portrait
orientation to be the default one, however (unlike the mobile
devices) the default window orientation on IVI devices is
landscape. Thus the wrong window transformation was applied
causing bugs, e.g. XWALK-1313.

This patch adds support (not complete yet, but enough for most
of the applications) for the default landscape window orientation.

BUG=XWALK-1313
[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
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.
Merge pull request #1815 from pozdnyakov/Orientation_for_IVI

[Tizen IVI] Support landscape window orientation by default
Activate xdg-shell, so the "minimize" button works under Tizen

We enable the build-time option "xdg-shell" for Tizen. Tested OK
with the latest Tizen Common & IVI images, it should work reliably
with upcoming snapshots & releases as we are taking care of
protocol versions compatibility.

BUG=XWALK-1382

Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>