Add unit testing

![mozilla_firefox](https://f.cloud.github.com/assets/1514/2196245/27fc8da6-98ac-11e3-9bde-95d4a2b76846.png)
 
At the moment this is spun-up using `grunt connect:tests` and just visit that URL e.g. localhost:7778 but it'll make sense to use phantom.js to run this eventually e.g. grunt-mocha-phantomjs or grunt-mocha.