Add JSHint as dependency
Add .jshintrc config and fix linter errors
Run linter as part of npm test

Also add way to run only linter: npm run lint
Merge pull request #26 from pereckerdal/linter

Add linter as part of the build process