Add editor and code standards helper files

Add an `.editorconfig` and `.jshintrc` to keep code styles consistant between contributors.