[Android] Package xwalk.apk as resource in xwalk_core_library

This is step 2 of getting rid of assets in xwalk_core_library.
To use paks as res/raw, the idea is to generate an xml in res/values
when creating xwalk_core_library, the xml contains a string-array
to describe all the paks will be put in res/raw.
XWalkViewDelegate will try to load the xml first, and intercept
ResourceExtractor if the resource to extract is on the list.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1085
[Runtime] Fix buildbot failure on Windows for PR#1667.
[Tools] Remove some dead code from fetch_deps.py.
[Tools] fetch_deps: Call sys.exit() only at the very end.

Stop making main() sometimes just return a value and sometimes exit()ing
directly: standardize on calling sys.exit() with main()s return for
consistency and also to accommodate adding calls to more DepsFetcher
methods in the future.
Merge pull request #1675 from wang16/pak_res_raw

[Android] Package xwalk.apk as resource in xwalk_core_library
Merge pull request #1688 from shaochangbin/fix-windows-build-issue

[Runtime] Fix buildbot failure on Windows for PR#1667.
[Tools] Add scm-remove-wrong-checkout.py.

This is a helper script intended to be invoked via "gclient recurse".
fetch_deps.py calls it automatically.

It is intended to remove a directory pointed to by a gclient entry when it
is supposed to be a git checkout but contains an svn one (and vice-versa).

The main idea is to prepare the ground for using our v8-crosswalk
repository: since V8 so far has been cloned from Google's SVN repository, if
we then switch to our git repository gclient sync will fail.
Merge pull request #1690 from rakuco/scm-checkout-verifier

[Tools] Add scm-remove-wrong-checkout.py.
DEPS.xwalk: Bring in v8-crosswalk.

Start tracking v8-crosswalk in src/v8. v8-crosswalk is a V8 fork along the
lines of chromium-crosswalk and blink-crosswalk. For now its main purpose is
to have all the SIMD.js optimizations some folks have been working on. Other
than that, it should be the usual V8 we all know.
Merge pull request #1699 from rakuco/pull-v8-crosswalk

DEPS.xwalk: Bring in v8-crosswalk.
[Android] Make variable name consistent in generate_xwalk_core_library.py

It's mix using "dir", "directory" and "folder". Change all to
"dir" for consistency.
[SysApps][Android]Fix Issue: Error callback isn't triggered without SIM card.

When there is no SIM card, the onSmsSend put a error message and return. Thus,
the JS error callback won't be invoked. Simply removing the return will
resolve the issue, the error will be handled in MessagingReceiver and
send back to JS end.

BUG=XWALK-940
Merge pull request #1696 from wang16/use_dir

[Android] Make variable name consistent in generate_xwalk_core_library.p...
Merge pull request #1686 from shawngao5/XWALK-940-1

[SysApps][Android] Fix Issue: Error callback isn't triggered without SIM card.
[Android] Implement the feature about visited link.

This patch is to implement the feature about visited link.
"a:visited" does not work when the url was clicked, so this feature
should be implemented.
Most of the code was ported from android webview.

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