Class based view for Grant and Thesis detail

Grant and Thesis detail pages changed to class-based views.