add .editorconfig to template

This thing needs to be maintained somewhere. If someone wants to use it, it's better to get our version than demo from editorconfig.org that isn't actually useful for anything.

If you don't like it being in every repo, maybe move it to `config` folder or something like that. But it seems to be harmless enough to have in template.

#8