MDL-40431 libraries: deprecated get_context_url()
MDL-40431 libraries: added another PHPUnit test to ensure deprecated function returns the same as the replacement
MDL-40462 libraries: deprecated get_course_context()
MDL-40462 libraries: added another PHPUnit test to ensure deprecated function returns the same as the replacement
MDL-40464 libraries: Deprecate get_user_courses_bycap()