Retrieve pagebundle from parsoid & save data-parsoid

Additional changes:

- Add a test for data-parsoid retrieval

- Save revision info only after successfully saving the data for the revision.
  Should perhaps think about using a high-level transaction for this.

- Add util.extend utility