Fixes: #1922 handling foreignKeys in group and ogroup
Fixes: #1922 Removing old code doing foreign key job
Fixes: #1922 fixing foreignKey handling for deletion in (o)groups