[Android] Implement onShowCustomView with requested orientation.

This patch is to implement the onShowCustomView function with requested
orientation.

BUG=XWALK-1868
[Android] Add test case for onShow/HideCustomView.

This patch is to add test for OnShowCustomView and onHideCustomView.
Some code was ported from android webview.
[Tizen] Remove Blink-Add-GCC-flag-Wno-narrowing-fix-64bits-build.patch.

Since b089b656 ("[Tizen] Stop unconditionally passing -Wall to the
compiler") we have stopped making the compiler generate more error
messages than intended. As that commit explains, Chromium has its own
mechanisms for deciding which parts of the code need -Wall and which
need it to be left out (since several pieces are built with -Werror),
and we should trust it to do the right thing.

This allows us to get rid of this patch since the code now builds
cleanly on both 32- and 64-bit architectures.

BUG=XWALK-917
[Android] Fix that trying to remote debug will cause crash

It's caused by missing a null pointer checker.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2936
Roll out M39.0.2171.62
Merge pull request #2624 from wang16/remote_debugging

[Android] Fix that trying to remote debug will cause crash
[Tizen] Add element namespace recognition in app-widget manifest handler

This patch adds code testing whether app-widget element and its children
are in tizen namespace.
Merge pull request #2625 from darktears/master

Roll out M39.0.2171.62
Bump version to 11.39.247.0
Merge pull request #2598 from wuhengzhi/show_custom_view_impl

[Android] Implement onShowCustomView and add test case.
[Tizen] Prevent unpacked widget installation

With this patch installer aborts installation when a path
to a widget points to a directory.

BUG=XWALK-2927
Bump version to 11.39.248.0
Merge pull request #2627 from KFilipek/XWALK-2927

[Tizen] Prevent unpacked widget installation
Merge pull request #2626 from tweglarski/AppWidgetNamespaceFix

[Tizen] Add element namespace recognition in app-widget manifest handler
Application: Add the check for return value.

The return value of getString() was not being checked.

CID=194038
BUG=XWALK-2928
Bump version to 11.39.249.0
ApplicationSystem: Initialize |params|.

The local variable was not being initialized in launch_params().

CID=194562
BUG=XWALK-2928
[Tizen] Parsing of app-control entry in widget manifest

In xml manifest, we have following structure of app-control entry:
<tizen:app-control>
    <tizen:src name="edit.html"/>
    <tizen:operation name="http://tizen.org/appcontrol/operation/edit"/>
    <tizen:mime name="image/jpg" />
    <tizen:uri name=""/>
</tizen:app-control>

Information about app-control should be passed to platform's manifest.xml
during installation of widget.

This information enables launching applications based on app control as
handler for given URI or MIME type.
Merge pull request #2592 from tiwanek/XWALK-1490

[Tizen] Parsing of app-control entry in widget manifest
[Tizen] Tune up app-widget element parsing in its manifest handler

Tizen 2.2 WRT Core Spec:
 - does not classify as invalid, widgets with:
   - more than one primary app-widgets,
   - no primary app-widget,
 - does specify that box-icon element is optional.

This patch removes unnecessary validation of primary attribute
in app-widget element and fixes parsing of box-icon element.

Link to the spec:
https://source.tizen.org/sites/default/files/page/tizen-2.2-wrt-core-spec.pdf