[Tizen IVI] Enable the platform-specific application installation logic

This patch allows "InstallPackageOnTizen" calls for Tizen IVI, so that
the platform-specific application un/installation logic is enabled there
(e.g. "pkgcmd -l" lists the installed xwalk packages). However
"InstallPackageOnTizen" can work only with Shared Process Model
application installation code path due to user permissions problems
that are not fixed within non Shared Process Model code path.

Considering all above and considering also that we should always use
Shared Process Model on Tizen, it was decided to remove non Shared
Process Model application installation code.

BUG=https://crosswalk-project.org/jira/browse/XWALK-901
[Runtime] Add manifest handler for widget packaged applications.

The CL parses manifest keys required by JavaScript widget interface,
and save mapped key value pairs in ManifestData, so that it can be read
by widget extension.

We can also extend this CL to validate the widget configuration keys in
future.
[Tizen][Runtime] Implement Widget API.

This commit supports Widget API on Tizen(exclude 'preferences' attribute).
The API provides application programming interfaces that enables ability
to access some of the metadata declared in a widget's configuration
document, such as 'name', 'author', 'description'.

Spec:
http://www.w3.org/TR/widgets-apis/#the-widget-interface

The 'preferences' attribute implementation will be provided later.
[Tizen IVI] Run XWalk with title bar in windowed mode by default.

The following commit makes XWalk run in full screen mode by default
because many parts of the code guarded by OS_TIZEN_MOBILE macro
were included in Tizen IVI, but some code seem to be specific for
Tizen Mobile such as creating the root window and frameless window,
which should be excluded from Tizen IVI.

https://github.com/crosswalk-project/crosswalk/commit/459efb92ed7d39f7b9be0ee99235f9b7f9c28b0b
[Android] Make variable name consistent in generate_xwalk_core_library.py

It's mix using "dir", "directory" and "folder". Change all to
"dir" for consistency.
[SysApps][Android]Fix Issue: Error callback isn't triggered without SIM card.

When there is no SIM card, the onSmsSend put a error message and return. Thus,
the JS error callback won't be invoked. Simply removing the return will
resolve the issue, the error will be handled in MessagingReceiver and
send back to JS end.

BUG=XWALK-940
Merge pull request #1696 from wang16/use_dir

[Android] Make variable name consistent in generate_xwalk_core_library.p...
[Android] File picker can't work on Android OS

This is a regression issue when chromium-crosswalk rebased to 34.
In Chromium 34, showCancelableIntent function is implemented in ActivityWindowAndroid.
When context is a Activity, we need a ActivityWindowAndroid instance instead of
WindowAndroid.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1086
Merge pull request #1686 from shawngao5/XWALK-940-1

[SysApps][Android] Fix Issue: Error callback isn't triggered without SIM card.
[Android][Extension] Fix that crosswalk crashes by can't create jni local ref

It's caused by android extension never release the jstring as
the message posted to Java side.

Fixed it by using ScopedJavaLocalRef for the jstring.

BUG=XWALK-1189
Merge pull request #1698 from pozdnyakov/app_installation_on_tizen

[Tizen IVI] Enable the platform-specific application installation logic
Merge pull request #1684 from shaochangbin/widget_handler

[Tizen][Runtime] Implement Widget API.
Merge pull request #1674 from joone/run_xwalk_windowed_mode

[Tizen IVI] Run XWalk with title bar in windowed mode by default.
[Tizen][Runtime] Enable WGT CSP support.

The WGT CSP support is disabled by the PR#1593: Separate WGT
applications manifest handling from XPK applications. And this should be
enabled again by adding a CSP handler into the WGT manifest parser.
Merge pull request #1701 from takethathe/wgt_csp_handler

[Tizen][Runtime] Enable WGT CSP support.
Merge pull request #1700 from wang16/ext_local_ref

[Android][Extension] Fix that crosswalk crashes by can't create jni loca...
Merge pull request #1691 from yinli/file_picker

[Android] File picker can't work on Android OS
Bump version to 5.34.99.0
[Android] Add '--target-dir' option for packaging tool

This request comes from the Eclipse integration support.
Packaging tool will move the output APKS to the target
directory specified by developer.

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