[Android] Fix that dict.iteritems() is no longer supported in python 3.0+

'dict' object has no attribute 'iteritems' in python 3.0 and later,
use dict.items() instead.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2129
Merge pull request #2213 from jinbang/fix_dict_iteritems

[Android] Fix that dict.iteritems() is no longer supported in python 3.0...
[Android] make_apk: Use open(), not file().

The latter does not exist in Python 3, so those functions were broken
when invoked.
Bump version to 8.36.178.0
Merge pull request #2216 from rakuco/py3-compatibility

[Android] make_apk: Use open(), not file().
[Android] Package name must be specified even having manifest

Package name is the ID of an Android application,
and the manifest will not carry the package field.
We should never generate the package name based on some rules we invented.
So it must be specified in argument.
[Tizen][Runtime] Send tizen_app_id to extensions for tizen.

After commit c22823fae34f299b8861af6cf3ee7a05d36cc118
we had already storage [tizen_app_id] to tizen pkgmgr db for
wgt packaged app, and some parts of t-e-c will need to get app
info from pkgmgr db according to [tizen_app_id], so we need to
send [tizen_app_id] to extensions.

Besides we still use [app_id] in xwalk internal, and send
[app_id] to extensions.
[Android] Clear FLAG_FORCE_NOT_FULLSCREEN when entering fullscreen

The FLAG_FORCE_NOT_FULLSCREEN flag of Android Window will force the
Android system to show status bar, even with SYSTEM_UI_FLAG_FULLSCREEN
set in SystemUIVisibility.

Record whether the FLAG_FORCE_NOT_FULLSCREEN is set before entering
fullscreen and clear it if so. Add the flag back if necessary when
exiting fullscreen.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2150
Merge pull request #2214 from jinbang/tool_package_name

[Android] Package name must be specified even having manifest
[Android] Add test case for onReceivedErrorTest().

This patch is to add test case for onReceivedErrorTest().
Open some urls with error format, the resource client will receive
the related error. Verify the error information with the expected
result.
[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
Merge pull request #2199 from CooderIan/send_tizen_app_id

[Tizen][Runtime] Send tizen_app_id to extensions for tizen.
[Android] make_apk: Print an error message _before_ exiting.

Fix the order of the print() and sys.exit() calls so that the error
message is actually printed before the program exits.
Bump version to 8.36.179.0
[Runtime] Disable extensions api for external web page.

We should only enable extension js api for frame which with
app scheme or file scheme.

BUG=XWALK-2153
Merge pull request #2224 from rakuco/fix-exit-print-order

[Android] make_apk: Print an error message _before_ exiting.
Merge pull request #2220 from wang16/full_screen

[Android] Clear FLAG_FORCE_NOT_FULLSCREEN when entering fullscreen
Merge pull request #2212 from wuhengzhi/onReceivedLoadError_test

[Android] Add test case for onReceivedErrorTest().
Merge pull request #2221 from CooderIan/disable_api

[Runtime] Disable extensions api for external web page.
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)