Enhance the gruntfile for js compiling.

Introduce browserify, coffeeify, deamdify, and uglify. Grunt now
concatenates, pre-processes, uglifies, and bundles as CJS all in one
step. Works with grunt-rev to bust cache.