Karma + Jasmine support for core JS tests
Fixes #5175: Converts tests to AMD and sets up Karma to run them
Adds default config for when not running in c9 environment (e.g. Travis-CI)
Merge pull request #5585 from ewinslow/jasmine-karma

Jasmine-Karma-Travis-AMD support for Javascript testing