CB-7634 Detect JAVA_HOME properly on Ubuntu
Update JS snapshot to version 3.7.0-dev (via coho)
updated .gitignore to include npm-debug.log
updated release notes
CB-7674 move preference activation back into onCreate()

The preference creation actually needs to be before
super.onCreate(savedInstance) in order to avoid the exception
"requestFeature() must be called before adding content". Also ran into an
issue in the native tests "Whitelist" and "User WebView/Client/Chrome" where
it would throw an exception that the CordovaWebView appView already had
a parent and needed to be removed from that parent before the invocation
to root.addView(appView). So I conditionally remove the wrong parent.
Also made a change to the native tests so the menus test would work.
I also put super.init() back into the template, though invoking it is optional
as loadUrl will call it automatically if needed.
CB-7674: Added sleep to avoid null error after most recent change to not break API
CB-6837 Fix leaked window when hitting back button while alert being rendered

Keep track of the last AlertDialog showed.
The last dialog showed that is rendered while hitting back button it
causes a leaked window.
Instead of perform a full track of all dialogs created, only destroy the
last one showed, this fixes the problem.

close #122
Update .gitignore to ignore /framework/build and /node_modules
Fix --shared flag of create script (broke in recent gradle changes)
CB-7714 Teach check_reqs about brew's install location for android SDK
CB-7707 Added multipart PluginResult (close #125)

Corresponds to cordova-js commit: a1f866606b3
CB-6511 Fixes build for android when app name contains unicode characters.

github: close #124
Replacing Math.random() with something a little more random.
Undoing change to Math.random() for now, this creates a weird bug
Fixed the SecureRandom so it only returns positive values
gradle: Allow absolute paths to keystore files
gradle: Allow storeType to be set (allows using .p12 files)
CB-7726 fix typo in gitignore: ant-built -> ant-build

github: close #131
CB-7758: Allow content-url-hosted pages to access the bridge

This allows e.g. jsHybugger to create pages with access to Cordova APIs.
We restrict access to content provider URLs which are at subdomains of the application itself, ie, begin with "content://com.your.package.id."
CB-7940 Disable exec bridge if bridgeSecret is wrong