Add a read-only property `bone_collection.parent` to RNA that returns the parent bone collection. This performs two scans of the array (one to find the bone collection's index, and the other to find the parent index). This might look bad, but as long as `Object.children` still loops, in Python, over all of `bpy.data.objects`, this should also be acceptable.