Add EditorConfig to enforce spacing

Will automatically use the correct indenting and trim line endings on supported IDEs.