MDL-43127 tool_uploadcourse: Add support for more enrolment methods
MDL-43820 tool_uploadcourse: Support multiple enrol methods of same type