Add .editorconfig file, see http://editorconfig.org/
"EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs."
Props netweb, fixes #5638