added vim file patterns to gitignore
[#370] detects invalid platform parameter and errors out gracefully

as opposed to crashing with a stacktrace
common error checking code will be aggregated in #308
Merge branch 'master' of https://github.com/phonegap/phonegap-cli