added .editorconfig according to coding style in README.md

I added it mostly because the firmware’s coding style wasn’t the same as my vim defaults, but maybe someone else can find it useful.