Creates some utilities to use the module with class-based views.

The PdfMixin adds the functionality to CBVs with very little effort.