Add CodeMirror XML editor to Studio view & XML validation