Add editorconfig support

Fixes #54
Merge pull request #58 from salcode/add-editorconfig

Add editorconfig support