[Android] Fix packaging tool can't work on python3.0+.

1. Change print to print function.
2. Change "except" expression for try..catch
3. Add decode("utf-8") for output of subprocess
4. Change "filter" and "file" uncompatible usage.
5. Move ant.py and md5_check.py into xwalk, which request modification.

BUG=https://crosswalk-project.org/jira/browse/XWALK-766
[Android] Add support for setting version codes in apk

Add support for specifying android version codes, which is necessary
for publishing multiple apk to google play. Follows the recommendation
for ABI in
http://software.intel.com/en-us/blogs/2012/11/12/how-to-publish-your-apps-on-google-play-for-x86-based-android-devices-using

Added some tests to make_apk_test and published x86 and arm crosswalk
apk to google play.

Addressed review comments
[application] Fix invalid memory write at Application termination.

Whereas Application notified its termination to ApplicationService synchronously
it was deleted in the same call chain, so any access to Application's own data
members after the termination notification led to invalid memory read or write.

Now termination notification is proceeded within a different call chain so the
described problem is solved.
[Android] Missed "//" in the converting from app to file uri

This a tiny fix in the converting function from app uri to
file uri, which the "//" is missing in the new file uri.
Merge pull request #1525 from xingnan/appfix

[Android] Missed "//" in the converting from app to file uri
[Android] Add the app.launch.local_path in the manifest json related files of test_data.

  Add the app.launch.local_path field in the manifest json related files under
the path of test_data.manifest.
Merge pull request #1504 from ShDavidliu/update_manifest

[Android] Add the app.launch.local_path in the manifest.json of test_data.
Merge pull request #1533 from pozdnyakov/Fix_invalid_memory_write

[application] Fix invalid memory write at Application termination.
Bump canary to version 5.
Merge pull request #1535 from darktears/bump

Bump canary to version 5.
Bump version to 5.32.78.0
Merge pull request #1469 from junmin-zhu/version

[Android] Fix packaging tool can't work on python3.0+.
Merge pull request #1423 from rscohn2/master

[Android] Add support for specifying android version codes
[Android] Minify and obfuscate the javascript and css.

This patch is to minify and obfuscate the javascript and css
files before doing packaging.
Integrate the yui compressor with the packaging tool.
Yui compressor was gotten from http://yui.github.io/yuicompressor/
The license is BSD.
Merge pull request #1485 from wuhengzhi/compress_js_css

[Android] Minify and obfuscate the javascript and css.
[Tizen] Display the top window when resume application from background.

For XPK applications with multipages, whenever a new page(window) is
created, it is saved as a root window inside current Crosswalk. In other
words, a list of root windows are created when running such kind application.

While Tizen app framework resumes the root window with stacking order
from bottommost(first) to topmost(last). As a result, the bottommost page is
showed when resume from background.

This PR provides only one root window per application, and all application
pages(windows) belong to this root window.

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