[TASK] Add .editorconfig file

This adds the .editorconfig file from TYPO3 Core to make contributions easier in the sense that the IDE will apply the formatting rules automatically.

Especially useful if you're working on multiple projects with multiple coding styles