added EditorConfig support

http://editorconfig.org
Merge pull request #3534 from Mailaender/editorconfig

Added EditorConfig Support