[FEATURE] Add a .editorconfig file

EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs.

Have a look at http://editorconfig.org/ for more information