Add Gruntfile.js.

Adds JSHint and uglify-js support.
Add badges.