Add .editorconfig file.
Extract jshint config to a .jshintrc file.