Add .editorconfig and update CONTRIBUTING