Update the layout to be properly indented and wrapped in <html> tags.
Change the default output mode to HTML5.
Pass on the context if there is one, else use an empty one.
Add docblocks, allow the title to be set, and use our PHPTAL subclass for rendering.