For yaml files, move raw editor to main window, hide metadata tab.

Uses the rawEditor in place of the normal content editor, hides the metadata button, and handles exceptions caused by not having a content editor.