Added extra condition that triggers rebasing: if the baseline doesn’t contain all store ids, it rebases.
Added rebaser test for new global count, and fixed an issue in CDEEventRevision that arose as a result (it wasn’t setting global count).
Added test for baseline revisions after rebasing, and caught logic error in CDERebaser.
Added test that the rebaser only goes up to the global count for the least recently refreshed store.
Updated rebaser test to make sure the event count was write after rebase
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.