MDL-45636 course_rest: changed modcontext to coursecontext
Merge branch 'MDL-45636-course_M26' of https://github.com/eSrem/moodle into MOODLE_26_STABLE
weekly release 2.6.5+