Refactor editorui

See proposal https://github.com/geonetwork/core-geonetwork/wiki/Refactoring-editor