Extend formats for view widget

Interim support for the view formats required to generate a TW5 HTML
file on the server
Add a version of wiki.renderText for the new widget mechanism
Less confusing to stop on error
Add basic support for reveal widget

Just enough to get the serverside generation of TW5 working with the
new widget mechanism (building encrypted wikis doesn't work yet).