Adds methods to CBLReplication to determine doc IDs of unpushed changes. (For #442)