Added .editorconfig, fixed formatting.