Switch function-based generic views to class-based ones.

The old object_list and redirect_to views are gone, in favor of ListView and
RedirectView. This change switches us over to them.

Testing done:
* Verified that views still worked.
* Ran unit tests.

Reviewed at https://reviews.reviewboard.org/r/4582/