#16744: Class based view should have the view object in the context

This pull request implements a fix for https://code.djangoproject.com/ticket/16744