Minor style filxes in cordova/platform.js

Committing separately to avoid mixing this with real logic changes coming next.
Allow "cordova platform add platform@version"

This only works with --usenpm for now.
E.g.:
cordova platform add ios@3.5.0 --usenpm