bundle: extract _processchangegroup() method
The new method applies the changegroup and fills in op.records,
sharing a little bit of code between the two callers. We'll add
another caller soon.
local test passedaddgroupcopy test passedclone test passedlowlevelcopy test passed