Implement Grunt build process

I've taken the liberty of redoing the build process to use [Grunt](http://gruntjs.com/) and uglify to build and compress scripts. It's much more portable than the built-in script (it won't build on my Linux headless VM).

I've also deduplicated the files in the `build/` directory where copies exist in the file structure and removed built files from the folder.