add .editorconfig file

This will help to increase code consistency.
Merge pull request #209 from davidlinse/add-editorconfig-file

Add .editorconfig file