Add ability to render complete global page

This also renders the page layout associated with the page, which is
better than just rendering the page's elements using #render_elements.