Added .editorconfig (http://editorconfig.org/)

Resolves #4720.