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.
Merge pull request #48 from sgunturi/add-gruntfile

Add Gruntfile and tasks.