Testing

Fixes #3 

* Adds a Mocha-backed test suite
* Adds a grunt-backed build process for easier contributing
* Minor code cleanup