locate .jshintrc the way jshint CLI does

Instead of using hardcoded JSHint flags, locate the nearest `.jshintrc` file and use that. This mimics what the JSHint CLI utility does. See <http://www.jshint.com/docs/>.

The built-in options from `jshint-flags.json` will still be used if no `.jshintrc` is found.