rebuildBundle seems to be working

Checkpoint.  Introduced IndexedOID, so that we can represent
intermediate collections in the tree, along with unit tests.

Added functions in Collection and QValue to read and splice specific
elements from a Collection.

The main unit test now appears to be working, and actually asserts that
the result is correct.