More optimization around resource options when building route path to send to navigate()
Updated Dashboard nav item to utilized nav_selected class like all other nav items
Merge pull request #100 from lifeBCE/master

Route path optimization and dashboard nav object update
Got jasmine working with grunt and requirejs
Developed new unit tests (mainly testing routes)
Large refactor:
- Moved rjs config to own file
- Updated source (app, grunt and jasmine) to use new shared config
- Refactored common and main a bit to take advanatage of new shared config
- Updated paths in rjs config to support new structure
- Created config directories in root and js to better organize config files
- Moved config file into respective config directories (some still in old locations as I was unsure about their move)
- Updated jshint to use jshintrc file instead of bulky config in gruntfile
- Updated router specs to better report route being tested (need to add more here for account actions)
- Alot more little tweaks here and there as I stumble across them

This was all neccessary for one to support unit testing and also just to update the source code a bit to be more modular and extensible
Merge remote-tracking branch 'upstream/master'
Fixed defect in iews/account/navLogin.js preventing views from loading (part of refactor)
Few more little tweaks
More cleanup mainly dealing with source formatting
- Trying to achieve some sort of congruency with indention levels, 80 character width limit, next vs same-line open curly braces, and more (standards)
Fixed issues with trailing comma in rjs config
Started some refactor work in accountManagementView but left commented
Built out router specs to check route called and with what arguments
Holy sh%@!

There were a TON of full-path reference calls throughout basically all modules that bypassed requirejs
path lookup/resolution which made each of these susceptible to issues with baseUrl and more. I discovered
these when I attempted to write the first view spec and witnessed the scrolling errors!

Example:
    '/js/vcloud/views/someVcloudView.js'

Changed To:
    'vcloud/views/someVcloudView'

Best to let RequireJS do its thing.
Dang new git add -A!

Forgot to add new files/dirs
aaa_load_rjs_config.js is an attempt to have the rjs config loaded in a single place for ALL spec tests
since all specs seem to be gathered, sorted and then executed. This still might not be sufficient when
you wish to run a single spec file. Still developing best solution.
-Refactored massive switch statement in accountManagementView jQuery binding
-Removed aaa_load_rjs_config.js since Grunt and SpecRunner already handled requirejs loading
-Integrated jasmine-jquery into test suite so specs can verify DOM elements when testing views
-Separated accountManagementView specs into 2 describe blocks so we do not load templates for
 specs not trigger jQuery bindings
-Changed absolute remote resource paths (http:) in rjs config back to relative and
 overrode these paths (via merge down) in Grunt for jasmine to use absolute paths
 since Phantom does not do well with relative remote resource paths when using RequireJS
-Bit of cleanup to finish
Merge branch 'cloud_management_refactor'

Conflicts:
	index.html
	js/common.js
	js/main.js
	js/vcloud/collections/catalog/vcloudCatalogItems.js
	js/vcloud/collections/catalog/vcloudCatalogs.js
	js/vcloud/collections/compute/vcloudDataCenters.js
	js/vcloud/collections/compute/vcloudOrganizations.js
	js/vcloud/collections/compute/vcloudVapps.js
	js/vcloud/collections/compute/vcloudVms.js
	js/vcloud/collections/network/vcloudNetworks.js
	js/vcloud/views/catalog/vcloudCatalogAppView.js
	js/vcloud/views/compute/vcloudVappAppView.js
	js/vcloud/views/compute/vcloudVmAppView.js
	js/vcloud/views/network/vcloudNetworkAppView.js
	js/views/account/accountManagementView.js
	js/views/resource/resourceAppView.js
	js/views/resource/resourceNavigationView.js
Updated line endings.
Missed two files in merge conflict resolution
Updated line endig conflicts in resourceAppView.js
Missed index.html in merge conflict
Merge branch 'cloud_management_refactor'
Addeed xit and jasmine to jshintrc file
fixed some dependencies with new require config