Handle unsupported protocol errors in webview better
Filter out non-launchable intents
CB-7265 Fix crash when navigating to custom protocol (introduced in 3.5.1)

Conflicts:
	framework/src/org/apache/cordova/CordovaUriHelper.java

Github: close #111
CB-7261 Fix setNativeToJsBridgeMode sometimes crashing when switching to ONLINE_EVENT
CB-7291: Add external-launch-whitelist and use it for filtering intent launches
Adding tests related to 3.5.1
Change in test's AndroidManifest.xml needed for the test to run properly
Change in test's AndroidManifest.xml needed for the test to run properly. Forgot the manifest.
CB-7044, CB-7299 Fix up PATH problems when possible.

Uses heuristics:
- Adds javac to PATH based on default install paths on Windows
- Adds javac to PATH based on JAVA_HOME
- Adds android and adb to PATH based on ANDROID_HOME
- Sets ANDROID_HOME based on location of "android"
CB-7321 Don't require ant for create script
CB-3445: Add an initial set of Gradle build scripts

These scripts will build an android project, in debug and release mode.
They also support additional library projects, such as Crosswalk, being
added to libraries.gradle (and settings.gradle). A flag can be set in
libraries.gradle to enable multi-architecture builds.
CB-3445: Add option to build and install with gradle

This gives build/cordova two new command-line arguments: --ant and
--gradle, and will select the build type from those. As a fallback
for the Cordova CLI, the environment variable ANDROID_BUILD can also be
used, set to either "ant" or "gradle".

The default is currently "ant", but it is intended for this to change in
the future.
CB-3445: Add which to checked-in node_modules
CB-3445: android: Copy Gradle wrapper from Android SDK rather than bundling a JAR
Merge branch 'gradle-build-3.x'

This introduces the gradle build system to Cordova-android, behind a flag currently
CB-3445 Speed up gradle building (incremental builds go from 10s -> 1.5s for me)

Biggest win is disabling the linter.
CB-7044 Add JAVA_HOME when not set. Be stricter about ANDROID_HOME

Also switches to using the which module over shelljs.which (better
support for .bat files)
CB-3445 Add .gradle template files for "update" as well as "create"
CB-3445 Copy gradle wrapper in build instead of create

This should play nicer with updates to the android SDK.
CB-7044 Fix typo in prev commit causing check_reqs to always fail.