CB-6973: Fix JSHint errors in ConfigParse

Also a minor bug fix in findOrCreate().
CB-6973: Fix JSHint errors in cordova/metadata/*

All files in src pass JSHint clean now.
To run JSHint on all the js files, run
jshint src
from the root dir of cordova-lib package
CB-6973: Run JSHint on all code in src/ via npm test

"npm test" will nor run "jshing src" if the jasmine stage completes
with no errors.

Specs are not covered by JSHint for now.