Allow nesting groups in more than one containing group.
(Realized that while it is not needed to add an existing subgroup (actually
its containing entity) to a group, I do need this code after all, in order
to add to an entity a relation to an existing group.
wip