MDL-42364 core_group: Hide suspended users in groups

* Currently only preventing suspended users from being added to new groups.
* Added related behat tests.
* Added ability to specify enrolment status in behat "course enrolments" step.