XD-890 gradle task for js tests

- Add an Exec task 'jsTest' that runs jasmine spec
  - This doesn't run along with other build tasks as this task requires installation of phantomjs
- Add console-reporter.js from jasmine js library for console reporter
  - Update xd.main.spec to use consolereporter
- Add phantomjs jasmine test runner
  - To open the spec URL and exit phantom on tests pass/fail
- Add SingleNode server launch as dependent task for JS tests
  - This will also make sure to destroy the server process after tests
- Fix PhantomJS spec html to include DOM for tests