Make jshint run in the same directory as the target file.

This allows projects to use multiple .jshintrc files to
set different rules for different parts of the project,
i.e. for different pre-defined globals under js/test/
vs js/

This is also how the grunt jshint plugin behaves.