Basic grunt build with clean, lint, JS minify
Use double quotes consistently in Gruntfile
Remove build artefacts and mask from git
Limit line length in minified JS files
Separate uglification into different targets

This makes it simpler to fix lint errors on one or two files
at a time, rather than trying to cope with lots at once.
Add basic test infrastructure
Fix typos and files missing from 'can edit' list