Grunt support.

Add jshint, mocha test and uglify tasks