Make SortedManyToManyField run under Django 1.5, 1.6 and 1.7 including migrations. Fixes #24.