[Tizen][Runtime] Fix can not update application.

In the old logic, when we update an application, we
uninstall the old application and install new application,
but when we call
     <pkgmgr_parser_parse_manifest_for_installation>
and  <pkgmgr_parser_parse_manifest_for_uninstallation>
on one process, this process will crash.So we should use
     <pkgmgr_parser_parse_manifest_for_upgrade>
to update.

And we should make a new pkg start point for new app data.

BUG=XWALK-1738
[Tizen][Runtime] Reconstruct some code on pkg helper.

When update have similar work way, I make some shared function.

And I also make some change on uninstall, so that we can see
the step of uninstall clearly.
[Tizen][Runtime] Should not check the package version for Tizen web
application when updating.

In Tizen platform, package version checking should be ignored when
updating, means that the downgrade and reinstall a package is
permitted, and this is the same behavior as Tizen WRT.

BUG=XWALK-1771
[Tizen][Runtime] Add default csp support for tizen.

The default CSP policy should be enforced if web app is under
CSP mode without setting any csp rule in config.xml.

BUG = XWALK-1776
[Android] Add test case for canGoForward().

Before load any url, canGoForward should be false.
After load two urls, canGoForward should be false.
Navigate to back url, canGoForward should be true.
[Android] Add test case for canGoBack().

This patch is to add test case for canGoBack().
Before load any url, canGoBack should be false.
Load the first url, canGoBack should be false.
Load the second url, canGoBack should be true.
[Android] Add test case for getAPIVersion().

This patch is to add test case for getAPIVersion().
Verify the api version with regular expression.
Merge pull request #2003 from jinbang/test_api_canGoForward

[Android] Add test case for canGoForward().
Merge pull request #2001 from jinbang/test_api_canGoBack

[Android] Add test case for canGoBack().
Merge pull request #1963 from wuhengzhi/getAPIVersion_test

[Android] Add test case for getAPIVersion().
Merge pull request #1976 from CooderIan/fix_app_update

[Tizen][Runtime] Fix can not update application.
Merge pull request #2000 from CooderIan/add_defalut_csp

[Tizen][Runtime] Add default csp support for tizen.
Merge pull request #1992 from takethathe/update-version

[Tizen][Runtime] Should not check the package version for Tizen web application when updating.
Bump Crosswalk to 36.0.1985.18

This commit bump crosswalk to the newer M36 milestone.

Important commits :
- Sync gyp_xwalk with upstream gyp_chromium r263984.

- Update envsetup.sh due to upstream changes.
build/android/envsetup.sh from upstream renamed some variables. Make
sure we use these ones now.

- WebAudio is now enabled on x86 Android by default.

- [Tizen][Runtime] Fix MessagePumpOzone issue for M36 rebase.

MessagePumpOzone and MessagePumpObserver are deprecated in M36.
This patch removes related codes in Crosswalk in order to make it
compilable for M36 rebase.

Effect of this change is temporarily 'hwkey' feature doesn't work.

The following fix patch will be provided once we have successfully
switched to M36.

See bug XWALK-1420

-[Android] M36 Gardening : Refactor the notification system

The notification code needs to be refactored due to upstream changes.
Few methods names were renamed or removed and the biggest change was
the removal of the notification id that we were using.

This patch essentially adapt to the changes (notably passing the delegate
instead of process_id and route_id) and it rolls our own way to manage
notifications ids.

Upstream CL : https://codereview.chromium.org/241553002

- DEPS.xwalk: Roll ozone-wayland to a5ca2e9.

- [Tizen] Add crosswalk-do-not-look-for-gtk-dependencies-on-x11.patch.

Removing crosswalk-do-not-look-for-gtk2-when-using-aura.patch was not
enough, as use_ozone==0 in the Tizen Mobile (ie. X11) case and gyp was
then looking for GTK+ dependencies.
Add a patch that also checks for tizen==0, but only for Mobile, since
the other profiles do not need it.
Merge pull request #2011 from darktears/land-next

Bump Crosswalk to 36.0.1985.18
[Tizen] Prepare the screen orientation code to use the Blink impl

This is the first step to getting rid of our own custom extension
and be 100% compatible by the emerging standard.

This patch has been developed in cooperation with Mikhail Pozdnyakov!

BUG=XWALK-1569
Merge pull request #2012 from darktears/master

[Tizen] Prepare the screen orientation code to use the Blink impl
Bump version to 7.36.146.0
[Android] Ensure onPageStarted won't called for iframe loading

Even for http/https iframe, onPageStarted would not be called. To hook
up iframe url loading, the embedder is able to override
shouldOverrideUrlLoading defined in XWalkClient.

TODO:
Consider to expose shouldOverrideUrlLoading as a public API?

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