Add methods hasGroupWithName() and hasGroups() to Revision