Implements .editorconfig, scrubs out old modelines.