Fix adding empty configs.
Convert line feeds to Linux, add EditorConfig.
Fix tests.