Updates .jshintrc rules.
Adds jshint task to gulp.
Fixes some jshint errors.