added edit button and editing form to page title header on unit and cont...

This PR contains Frances' change to the xblock string field editor, adding an edit button and form.

@andy-armstrong @frrrances @cahrens please review
Nit (which means you don't actually have to do it): you have the same helper function with identical implementation twice. Move it up a level, as a peer of getHeaderElement.