Grunt for build

Swapped out existing build process which mostly used non-mainstream tool for using the mainstream JS build tool. This bumps the underlying minification dependency which should be the primary area of concern, so I switched the test environment to use the -min version since that is the primary thing that could break.

Note when reviewing this includes the build files, individual comments probably ought to go next to their source file. Most changes were to pass more strict jshint settings. The order of inclusion of CryptoJS changed, but since it is leveraged via globals the order should have no impact.

Tested in:
 
- [x] Node.js 0.10.21
- [x] Chrome 33
- [x] FireFox 26, 28
- [x] Safari 7.0.2
- [x] IE 11
- [x] IE 10
- [x] IE 9
- [x] IE 8
- [ ] IE 7
- [ ] IE 6