Add an .editorconfig file to improve the code formatting in contributors editor of choice.
Merge pull request #429 from herom/add-editorconfig-file

Add an .editorconfig file to improve the code formatting in editors and IDEs which support this.