move jshint configuration to .jshintrc
add jshint grunt task; fix newly introduced lint errors