pass through jshint success/fail for exit code

For things like git pre-commit hooks it is super nice to have exit codes as opposed to checking the output.

Also fixed two tests.