Updated event migrator to make sure it uniques the global ids on both the globalIdentifier attribute AND the entity attribute. Previously it was only accounting for globalIdentifier.
Refactored CDERebaser, and added test to make sure that global ids are uniqued on both globalIdentifier attribute, and the entity attribute.