Make work with Mezzanine PageMiddleware

Mezzanine page PageMiddleware app adds some stuff to the context, so the view can determine if there is actually a page, and if that page is a 404. This is just a quick hack to get it working.