added pre-commit check
moved jshint options into separate file
added jsonlint