chore(*): Added editorconfig

editorconfig configures editors to use the correct indent size and
style.

Replaces #2347