Add .jshintrc and .editorconfig
Fix JSHint errors in task
Remove unused TravisCI `beforescript` option
Fix dependency listing in package.json