Fix import error in Django 1.7
Fix AttributeError in Django 1.6
Better error message when unable to stringify queryset
Fixed another imcompatability with Django 1.7