Use separate .jshintrc for tests/ and app/.

Closes #483.