MDL-40462 libraries: deprecate get_course_context()
MDL-40462 libraries: added another PHPUnit test to ensure deprecated function returns the same as the replacement