CB-7199 control git/npm using platform.js

www will default to git
if you want a platform to use git, just add source:git to its platforms.js section
This broke the build: https://travis-ci.org/apache/cordova-lib/builds/30870405