MDL-40403 libraries: Deprecate get_parent_contexts()
MDL-40403 tests: Fix pointless assertion
Merge branch 'MDL-40403-master' of https://github.com/FMCorz/moodle into MDL-40354-master
MDL-40354 groups: Fix issues in groups_group_visible()