Convert generic FBVs to CBVs

Replace deprecated function based generic views with class based generic
views.
Merge pull request #181 from cwimbrow/topic/replace_generic_views_with_cbvs

Convert generic function based views to generic class based views