added the JSON support to TemplateResponse, fixed string docs
added the AJAXResponseMixin for Class-based views