UI tests

ref #184 this commit adds Mocha and Chai to an `app/test` directory and tests the `style._` template when `?test=true` is passed as a param. Currently there are tests for: tab interactions in the editor, documentation and layers.

Still need to:
- [ ] Hook this up into .travis + phantom
- [ ] Others before ?