chore(*): Added editorconfig

editorconfig configures editors to use the correct indent size and
style.

Replaces #2347
Indentation style is 4 spaces except for *.rb. That includes *.rst, *.py, *.md, etc. It'd probably be better to make that the default and use `indent_size = 2` for other non-standard files like user-data.