ticket:4 add context processor testcase
ticket:4 add context processor realization
ticket:3 pep8, pylint
Merge branch 't3_middleware'
Merge branch 't4_context'