Cleaning up build process.

 - Use grunt's requirejs.
 - Removed shell scripts from build process.
 - License info appears at top of unoptimized JS file now.
Merge branch 'clean-up-build-process' into 1.3-bugfix