995528 - Remove legacy usage of AutoReference as it has a significant performance impact on queries of larger repositories and is no longer being used.
Remove use to to_dict that failed when autoreference was removed.
Remove commented out line
Merge pull request #619 from pulp/barnabycourt-995528

995528 - Remove AutoReference from pymongo configuration due to performance degredation