ticket:3 fixes according to comments
ticket:4 missed unittests were added
ticket:4 imporvement
Merge branch 't3_middleware'

ticket closed
Merge branch 't4_context_processor'

Ticket closed