Added generic JsonResponse class

Based on http://djangosnippets.org/snippets/154/
PDF Textbooks: fetch/save individual textbooks

Created a few RESTful API endpoints, which required creating and assigning
arbitrary IDs to PDF textbooks. Changed the Backbone views to save individual
models, instead of saving a whole collection.