Updating VERSION comparison to be compatible with all 1.5.x
calling the correct queryset/get_queryset for VERSION
Using __class__ to get model class as model is not an attribute of class Meta in Django 1.5.x
Merge pull request #97 from matt-leach/master

Django 1.5.x compatibility updates