Fixed call to queryset object for Django >= 1.7
Added method to check for self-referential sortable foreign keys.
Added extra check for object when sorting self-referential models.
Data changes from testing.