Added .editorconfig.

Thanks to @lipis.  Closes #50.  This may need tweaking.