MDL-42276 core_group: automated testing for MDLQA-1812

Added behat test for deleting groups/groupings.
MDL-42276 core_behat: added new step definition to check if one element exists in another
MDL-42276 core_group: automated MDLQA-1813

Added behat test for deleting groups/groupings without the 'moodle/course:changeidnumber' capability.
MDL-42276 core_behat: added new step definitions to check if an element is readonly or not
MDL-42276 core_group: automated MDLQA-2105

Added behat test for creating groups/groupings without the 'moodle/course:changeidnumber' capability.
MDL-42276 core_group: automated MDLQA-2238

Added behat test for updating groups/groupings without the 'moodle/course:changeidnumber' capability.
MDL-42276 core_group: automated MDLQA-2335

Added behat test for updating groups/groupings with ID numbers.