Updated SortedManyToManyField.contribute_to_class in order to work with ...

...Django 1.7 migrations