Incorporated grunt, grunt-notify, grunt-contrib-watch, grunt-contrib-jshint and grunt-simple-mocha for continuous local testing.

Refactored a lot of the tests.