[Tizen][Runtime] Enable to load local resources using file protocol.

For WGT package, loading local resources using file protocol will be
blocked by xwalk runtime, even the permission is granted by CSP or WARP
policy rules. The patch will grant the access permission for file
protocol if it's enabled by CSP or WARP security policy.

BUG=XWALK-1990
[Tizen] Remove Ringtone from virtual root

IVI doesn't need "Ringtone" path. So, remove it.
[Extensions] Check validation of XWalkExtensionInstance before binding callbacks.

There is race condition that sometimes CreateInstance() return invalid
XWalkExtensionInstance.

So far, this crash does not happen on any C++ extensions or Android
extension tests. Only happens on CordovaTests apk. And worse and worse
when loadUrl calling times increased.

Meanwhile, the Android speicific function RegisterExtension() and
UnregisterExtension() are removed from xwalk_browser_main_parts.h

BUG=https://crosswalk-project.org/jira/browse/XWALK-1688
[Android] Add test case for onJavascriptCloseWindow().

This patch is to add test case about onJavascriptCloseWindow().
Load a html, it will call "window.close()", then
onJavascriptCloseWindow() will be called. The called flag will be
marked with the help of TestHelperBridge. Get this flag and compare
it with the expected result.
Fix Application Type in app_info.db

Currently in app_info.db the widget are typed as rpm not widget.

Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Move to M37.0.2062.20

- Skip SIMD command line for now.
- sync gyp_xwalk with gyp_chromium (r274762).
- Fixed the code for the Geolocation. Just like in M36 the delegate
has been refactored. It's now not a separate class to inherit from
but a regular object to instanciate. On other platforms than Tizen and Android
we need to make sure we return with the callback otherwise it hangs waiting for a reply.
As we do not support this on desktop we can just early return false.
- Fix 'screen' property not being replaced in a test : Blink commit 5fdac279
made the 'screen' property non-replaceable, so the only way to overwrite it
now is using v8tools utility to force.
- [Android] Strings now are generated differently through a dedicated GYP target.
- DEPS.xwalk: Start tracking Ozone-Wayland's Milestone-Summer branch.
- [Android] Fix resource packaging : In upstream the resource processing changed a
lot.
-[Tizen] Temporarily disable ALSA support : https://codereview.chromium.org/264973012 introduces a dependency on
ALSA's sequencing interface, which is currently disabled on Tizen.
- [Tizen] Add a patch for angle specific to Tizen to skip the .git/index dependency wrongly added. Fixed upstream
already http://code.google.com/p/chromium/issues/detail?id=395705
[Tizen] Temporarily disable WebRTC support (XWALK-2160)
Merge pull request #2228 from darktears/land-m37

Move to M37.0.2062.20
Increase Chromium version to 37.
[Android] 'WARNING: app.launch.local_path is deprecated for Crosswalk' should not be shown twice

BUG=https://crosswalk-project.org/jira/browse/XWALK-2118
Merge pull request #2222 from halton/validate_instance

[Extensions] Check validation of XWalkExtensionInstance before binding callbacks
Merge pull request #2225 from Harry110/PR2118

[Android]'WARNING: app.launch.local_path is deprecated for Crosswalk' sh...
Revert "[Runtime] Disable extensions api for external web page."

It broke several Android device tests:

* org.xwalk.runtime.client.test.DeviceCapabilitiesTest#testDeviceCapabilities
* org.xwalk.runtime.client.test.ExternalExtensionTest#testExternalExtensionAsync
* org.xwalk.runtime.client.test.PresentationTest#testPresentationDisplayAvailable
* org.xwalk.runtime.client.test.ExternalExtensionTest#testExternalExtensionSync

* org.xwalk.runtime.client.embedded.test.PresentationTest#testPresentationDisplayAvailable
* org.xwalk.runtime.client.embedded.test.ExternalExtensionTest#testExternalExtensionAsync
* org.xwalk.runtime.client.embedded.test.DeviceCapabilitiesTest#testDeviceCapabilities
* org.xwalk.runtime.client.embedded.test.ExternalExtensionTest#testExternalExtensionSync

* org.xwalk.core.xwview.test.ExtensionEchoTest#testSync
* org.xwalk.core.xwview.test.LoadTest#testContentUrl
* org.xwalk.core.xwview.test.ExtensionEchoTest#testMultiFrames
* org.xwalk.core.xwview.test.ShouldInterceptLoadRequestTest#testNotCalledForExistingContentUrl
* org.xwalk.core.xwview.test.ExtensionEchoTest#testAsync

* org.xwalk.core.internal.xwview.test.ExtensionEchoInternalTest#testAsync
* org.xwalk.core.internal.xwview.test.ExtensionEchoInternalTest#testSync
* org.xwalk.core.internal.xwview.test.ExtensionBroadcastInternalTest#test
* org.xwalk.core.internal.xwview.test.ExtensionEchoInternalTest#testMultiFrames
* org.xwalk.core.internal.xwview.test.LoadTest#testContentUrl

This reverts commit 08afec43d74cfa2b586b7297bb7fe60543552bf6.
Merge pull request #2234 from rakuco/revert-2221

Revert "[Runtime] Disable extensions api for external web page."
[Tizen] Use Tizen application database to store application data

Crosswalk should use the Tizen platform's application database
to store application data, instead of its own. This reduces
duplication of information and allows webapps to be behave
more like native apps in the eyes of the system.

BUG=XWALK-2029
Merge pull request #2233 from eurogiciel-oss/Fix_Application_Type

Fix Application Type in app_info.db
DEPS.xwalk: Roll chromium-crosswalk (e60998d -> 945fe6f).

945fe6f Merge pull request #179 from rakuco/fix-indentation-in-adb-install-apk
1e1c8aa [Temp][Android] Fix 8c2a8abc.

This fixes the Android devices tests, which were not being updated due
to a syntax error in the adb_install_apk.py script caused by the M37
rebase.
Bump version to 8.37.180.0
Merge pull request #2236 from rakuco/roll-cr-xwalk

DEPS.xwalk: Roll chromium-crosswalk (e60998d -> 945fe6f).
Bump version to 8.37.181.0
[Android] Enable instrument test for Messaging API.

Enable instrument test for Messaging API.