Added editorconfig.
Updated readme with an example.