CB-6976 Add support for Windows Universal apps (Windows 8.1 and WP 8.1)
Adds support for build archs to run command
 + small cleanup and refactoring
 + fix jshint issues
Fixes deploy error when project type (--phone, --store or --store80) not specified