1006985: Abort migration when we detect different certs with the same ID.
Move capture() context manager to fixtures.py
Merge pull request #787 from candlepin/awood/1006985-abort-migration

1006985: Abort migration when we detect different certs with the same ID