fixed problem with context processors

* 'WSGIRequest' object has no attribute 'session'
* ’WSGIRequest' object has no attribute ‘user’
This kind of circumvents the entire point of 445,446. The goal was to avoid coupling tables to requests, since really you shouldn't need a request just to render a table.