add editorConfig option
update editorconfig section in readme
add unit test for editorconfig
Merge pull request #9 from dlukez/master

add editorConfig option