Migrate to Grunt.js build system

Closes #2