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
XD-896 support --inputType and --outputType module parameters
XD-625: Revert XD-624
Add build dependency to backgroundAdminServer task

- For jsTest task, invoke 'classes' task to build the spring-xd-dirt
  resources before starting backgroundAdminServer
XD-910 Add a processor for client http requests

--Refactored the module to handle a payload.
XD-915b: apply to mqtt modules
Update mqtt version to SNAPSHOT