Configure Grunt and automated tasks.

- Add Grunt and task dependencies.
- Fix lint errors.
- Add Grunt file with jshint tasks.
- Allow expressions to pass linting in test suites.