.editorconfig file for consistency in contributions

EditorConfig defines and maintains consistent coding styles between
different editors and IDEs: http://EditorConfig.org/