Adds support for build archs to run command
 + small cleanup and refactoring
 + fix jshint issues
CB-6976 fixes deploy when target type is not specified

We currently support --phone, --store and --store80, for example 'cordova emulate windows -- --phone'
CB-6976 fixes run/emulate error when it runs for the first time
CB-6976 fixes deploy error on WP8.1 emulator
CB-6976 replaces new template icons and splash screens
CB-6976 fixes deploy error on when --nobuild option specified