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
If you make this universal, files that use hard tabs will inherit `indent_size = 2` setting, but I'd want to use default one for this.