CB-7118 (fix jshint warnings)
CB-7347 Improve cordova platform add /path/to handling

split name/path errors