updated to 4.0.0, pinned dependencies
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-lib
updated cordova-js dependency to 3.7.1