Add add_bundle() support to persistence

This inserts the bundle with a full URI identifier and only does this if that identifier is unique to the parent bundle.