Support older django versions (Pull request for Issue #221)

I've tried to allow support for various versions of Django. I don't know whether this is the best way to do it though.

Note that StreamingHttpResponse was new in Django 1.5, so I think the current base repo version of the code will only work with Django 1.5 or later.

I've only tested the change with Django 1.2.4.