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.
The order of imports should be 1. python libs, 2. django 3 edx libs/apps and within each group alphabetically.