Use JSHint's `extends` option

This allows the linting rules to be slightly more strict--test
environment globals should only be considered valid for test files.
Merge pull request #534 from jugglinmike/stricter-linting

Use JSHint's `extends` option