Add EditorConfig file and fix code style