Start of a test suite for the UI

* add Jasmine as a dependency
* create initial specs
* create html file as a test container
* tests for the non-batch model
* add a phantomjs runner to run tests from command line
* xd ui model is mostly tested
* xd ui viewers have one test, but need many more
* update cujo rest library