Build system tweaks - Don't Merge Yet

So this creates more specific tasks for the builds. There's now a devbuild task and a releasebuild task.

These put only the necessary files in the dist folder.

Still to do
- [ ] Have grunt create a file with the hash of the current commit
- [ ] Need to fix the langtests to run correctly