Tidy up jshint task.
Run unit tests on commit.
Merge pull request #4 from nickburns2006/jshint-gruntfile

Tidy up jshint task.