Middleware fix and context_wrap

`process_response` in Django Middleware always needs to return the response (i missed a case).

Added a convenient decorator for wrapping functions with a context.