New tasks and fixing syntax

Adding grunt-contrib-jshint and grunt-contrib-watch and setting it up to lint and watch the Gruntfile.js, libs, and tests.

Fixing syntax issues from jshint.