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