remove duplicates now requires a cursor and cannot be tested outside of using the db
Merge branch 'jconnor-get-units-as-generator' of github.com:pulp/pulp into jconnor-get-units-as-generator

Conflicts:
	server/test/unit/test_repo_unit_association_query_manager.py