[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] 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
[Android] Export xwalk core library as a jar

Previously, xwalk core library is containing bunches
of java source code, even including many generated
code. It's hard to maintain after chromium rebase.

With this commit, merge_jars.py will help merge all the
jars from chromium and xwalk component needed by xwalk
core library into one xwalk_core_library_java.jar.

Only two things missing:
1. The R.java for resource mapping still needs to be copied
separately, because they are not included in any jar.
2. As well as the NativeLibraries.java.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1234
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 make_apk_test fails when out/ has both ARM and x86 builds

Both testCustomizeFile and testEmptyMode fail when out happens to have
both an ARM and an x86 build: in this case, the ARM native libraries will be around
and make_apk.py will generate both ARM and x86 APKs,
making the self.assertFalse(os.path.isfile('Example_1.0.0_arm.apk')) call fail.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1466
[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>
Merge pull request #1766 from kurli/http-error

[Android][Tizen] Generate error messages from network error code.
[Android] Hide classes and description refinement for Javadoc.

This fix aims to use Doclava(https://code.google.com/p/doclava/) to
generate java doc for embedding API. Since some classes and methods
are public but not generated as API, "@hide" is used from Doclava.
Besides, it refines some description and comments. Next is to enable
doclava in Crosswalk.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1544