Added detection for `response.disable_yui_loader_middleware = True`

This can be used as a work-around to enable streaming responses in Django versions <1.5.