LPS-35742

Moved deleteGroup() to RecursiveDeleteGroupActionableDynamicQuery and made it public so that deleting system groups can reuse it after all other sites are deleted.