Implemented CSRF view decorator mixins and tests.