Changed handling of global count in CDERevision methods. Added a test for the revisions resulting from a baseline merge. All pass.