XD-890 gradle task for js tests

- Added an Exec task 'jsTest' that runs jasmine spec
 - This doesn't run along with other build tasks as this task requires
   installation of phantomjs
- Added console-reporter.js from jasmine js library for console reporter
 - Updated xd.main.spec to use consolereporter
- Added phantomjs jasmine test runner
 - To open the spec URL and exit phantom on tests pass/fail