template: add .editorconfig

Closes #8
Closes #18