Add EditorConfig support and tests