Add .editorconfig file

Problem is switching between projects with vastly different coding styles.
EditorConfig helps developers define and maintain consistent coding
styles between different editors and IDEs.

More information at http://EditorConfig.org
Merge branch 'feature/add-editorconfig' into dev
clear editorconfig
clear editorconfig
Merge pull request #1359 from Partysun/dev

Add .editorconfig file.