Refactor to add the complete document structure.

- Use exercise view as the starting point.
- Refactor the view specific stuff into layouts managed
  by the content editable behavior.
- Split the editor into a layout + 3 views for editor,
  viewer and prompter.
- Fix CSS to match new abstract styles.