Fixed #19567 -- Make js i18n view as cbv.

This is a initial proposal. 
I think is backward compatible.
Pass all view tests with python2 and python3.

Reviews welcome.

Ticket: https://code.djangoproject.com/ticket/19567