Create .editorconfig

Couldn't rebase my changes after a bunch of tries, so I just decided to open a new pull request with just the .editorconfig addition.

@keithamus no conflicts, you should be able to merge this right away.