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.
ERROR: FIXME: This is a known failure of filelog.size for data starting with \1\nOK.