Update Grunt to 0.4, tweak JSHint config
Fix linting issues