[Android]Implement DevTools protocol /json/activate/.

BUG=XWALK-2228.
Add license header to lint.py and utils.py in tools

BUG=XWALK-194
Merge pull request #2294 from wang16/add_license

Add license header to lint.py and utils.py in tools
[Android] Add test cases for shouldOverrideUrlLoading.

This patch is to add test cases for shouldOverrideUrlLoading.
Most of the test cases are ported from android_webview, since the
implementation of some functions was different, so some test cases
were modified according to xwalk's implementation.
Fix Mac build : Complex classes needs out of line destructors and constructors.
Merge pull request #2282 from iKevinHan/xwalk-2228

[Android]Implement DevTools protocol /json/activate/.
[Android] Adjust XWalkPermissionClient::allowImage's signature.

The parent method's signature changed in Chromium r170983.
[Android] Adjust XWalkRenderViewExt::DidCommitProvisionalLoad's signature.

The parent method's signature changed in r261764.
[Android] Adjust RuntimeResourceDispatcherHostDelegateAndroid::HandleExternalProtocol's signature.

The parent method's signature changed in r261014.
[Android] Rename XWalkRenderViewHostExt::RenderViewGone.

The method was renamed to RenderProcessGone upstream in r210727 more
than a year ago.
Merge pull request #2301 from rakuco/android-method-signatures

[Android] Fix the signature of several methods.
Merge pull request #2300 from darktears/master

Fix Mac build : Complex classes needs out of line destructors and constr...
[Android][REG] Packaging tool does not work with python 3.0+

1. command output is a bytes-like object in python3.0+,
re.findall can't use a string pattern on a bytes-like object,
encode the bytes-like object to str to fix that.
2. map function will return a map object in python3.0+,
'map' object has no attribute 'extend',
not use map function to fix that.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2303
Merge pull request #2287 from wuhengzhi/shouldOverrideUrlLoading_test

[Android] Add test cases for shouldOverrideUrlLoading.
[Android] The LaunchScreen dialog follows the activity window flags

Instead of check whether the activity is in fullscreen mode, just follow the activity window flags.

BUG=XWALK-2294
[Android] Clear FLAG_FORCE_NOT_FULLSCREEN for all devices not only for KitKat

FORCE_NOT_FULLSCREEN_FLAG is prior to FULLSCREEN_FLAG on some devices,
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.

Previous commit a00f56eac4579ea4302757ee98ee1b19d421bc3d
is not covering device prior to KitKat, this commit cover all devices.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2150
[Android] Re-enable NativeFileSystem instrumentation test

Root cause:
Instrument test loads test page as "Data URI scheme". Such type of URI
dosen't have URL origin. An empty URL origin will cause crash.

Fix:
Give a default value, "file:///", to URL origin to avoid crash.

Related to XWALK-99
[Android] Fix fullscreen not working issue on Android versions < 4.2

Change the values-v17 to values-v14, as we support Android versions >= 4.0

BUG=XWALK-2307
Bump version to 9.37.192.0
Merge pull request #2295 from shawngao5/enable_nfs_testing

[Android] Re-enable NativeFileSystem instrumentation test