Unit testing

Got QUnit up and running with build scripts done through broccoli.

To get started, you need to `npm install -g broccoli`

You can start the testing server with `npm test` and visiting [http://localhost:4200/tests/](http://localhost:4200/tests/) in your browser.

To build the package, you can run `npm build`.

There's a bit of refactoring going on in here and I haven't yet tested the build in Chrome.