Implemented process_response method to clear requestcontext global variable in mako middleware.

LMS-6622

Implemented process_response to clear global "requestcontext" variable in mako middleware and added unit test.
I think all these comments can be removed. They do not add any info.