MB-12854: Support cloning of in-memory snapshots

Rewind DB header to that of incoming handle during _open()
if cloning from an existing snapshot.
Re-use existing snapshot's AVL tree, with reference counting,
so no additional memory is used and wal restoration is avoided.
Change-Id: Ib60a9bd3efe3c2210eead924d02ac80473fd8185