lint and run all tests before each commit
add dist and tmp to .jshintignore
Merge pull request #1 from Trott/precommit-hook

lint and run all tests before each commit