Removing the need for an infinite loop to assign unique slugs.  This should fix #174 without checking the version of Django.  Note that tests counting the number of queries may not pass, and the assignment of slugs may differ slightly from past behavior.