[Android] Change the file format from dos to unix.

Several files are dos format. It means that it uses CRLF as the line
terminator. All files should use unix format. Change all these files
into unix format.
Merge pull request #1144 from wuhengzhi/onDestroy

[Android] Fix XWalk crash issue when call onDestroy.
Merge pull request #1194 from yongsheng/fileformat

[Android] Change the file format from dos to unix.
[Android] Improve the illegal character handler in packaging tool.

  When the application name includes the illegal character '.', the
packaging tool doesn't handle it and other illegal characters are
handled but no prompt. This fix is to improve the illegal character
handler in the packaging tool and the test case related to illegal
application name is added.

BUG=https://crosswalk-project.org/jira/browse/XWALK-139
REGRESSION(7b16c7d): Fix the %install stage on Tizen.

Due to the changes introduced in the commit mentioned above, we need to
change the default value we pass to the BUILDDIR_NAME spec file variable:
`out' is always added to the build directory anyway, so if one tried to
build a Tizen package in a fresh build directory the installation stage
would fail, as files such as the "xwalk" binary are now in
BUILDDIR_NAME/out/Release/xwalk instead of BUILDDIR_NAME/Release/xwalk.

Additionally, this also makes the default cause (ie. no BUILDDIR_NAME
specified) more consistent with the rest of the world, as we ended up
building in out/out/Release instead of just out/Release.

This wasn't caught by any bots because they all had old xwalk binaries lying
around in BUILDDIR_NAME/Release, generated before 7b16c7d went it, and
yesterday new canaries were not created because the build was broken due to
something else.
Merge pull request #1197 from rakuco/tizen-make-install-fix

REGRESSION(7b16c7d): Fix the %install stage on Tizen.
Merge pull request #1180 from ShDavidliu/manifest

[Android] Improve the illegal character handler in packaging tool.
[Android] Add the test case about DomStorageEnabled and AppCacheEnabled.

Implement the test cases about DomStorageEnabled and AppCacheEnabled.

Test AppCache by setting the data in TestWebServer instance.
Test DomStorage by loading the html, in this html file, it checks
the domstorage enabled or not by javascript.

For test case "DomStorageEnabled" should add the parameter "--test_data", as follows:
build/android/run_instrumentation_tests.py --test-apk XWalkCoreTest \
--test_data xwalkview:xwalk/test/data/device_files/ \
--verbose -I --num_retries=1 -f testDomStorageEnabledWithTwoViews