ticket:3 add functional tests
ticket:3 add app requests and test for it
ticket:3 add middleware and view
ticket:3 add middleware
ticket:3 add base template
ticket:3 add date and method in template
Merge branch 't3_middleware'