Added grunt and grunt jshint.

Includes jshint rules.
Lint.
Added jasmine-node task.
Added github test.
Added test for stalerepos lib.
Added email lib spec.
Update npm test to run grunt.
Added travis ci configuration.