Added .editorconfig

See [EditorConfig.org](http://editorconfig.org). Should be added to the CONTRIBUTING.md too (#297).