Gruntfile for automation of jshint,concat,uglify and qunit

Also added a unit test.

Until https://github.com/jshint/jshint/commit/ce7da77f81412c13aea19e857bc6fdf9069804d5
reaches release, only the gruntfile itself is linted.