MDL-47183: viewhiddenactivities should use the module context

Thanks to Paulo Matos for the forum part of this change.
MDL-46712: Center EditPDF window on browser resize / zoom
MDL-47612 gradereport_grader: Remove max-width for RTL

For some reason, Safari behaves incorrectly when dealing with RTL
content where the table has a max-width of 100%.
MDL-30358 forms: strict validation is too strict
MDL-29873 Lesson: Essays not shown on grade page with SQL server
MDL-47608 cachestore_mongo: fixed unit test error

If you configured your site to run mongo unit tests and had
the mongo extension and backend installed but did not have the
mongo service running you would get a fatal error when running
the unit tests.
That problem has been fixed by checking the mongo test instance
is ready before returning it.
MDL-46518 navigation: site glossaries now expand properly
MDL-47760 grades: dim category name if hidden
MDL-47755 badges: Fix internal message output

Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
MDL-47780 core: corrected docs for get_user_capability_course()
MDL-47397 assignfeedback_editpdf: Copy stamps to other students in team

During a team submission the stamps were attached to the user that
was graded and not to the other users. This could lead to errors when
generating the PDF for each user.
MDL-47397 assignfeedback_editpdf: Tests use reliable way to annotate PDF

The drag and drop step did not work, so we moved to using the stamps
to annotate the PDF. They do not rely on drag&drop and produce the same
effects.
MDL-47690 web services: Fixed invalid return parameter type in mod_url
Merge branch 'MDL-47397-26' of git://github.com/FMCorz/moodle into MOODLE_26_STABLE
Merge branch '47608-26' of git://github.com/samhemelryk/moodle into MOODLE_26_STABLE
Merge branch '46518-26' of git://github.com/samhemelryk/moodle into MOODLE_26_STABLE
Merge branch 'wip-MDL-47760-m26' of git://github.com/marinaglancy/moodle into MOODLE_26_STABLE
Merge branch 'MDL-47780_m26' of https://github.com/markn86/moodle into MOODLE_26_STABLE
Merge branch 'MDL-46712-26' of git://github.com/jethac/moodle into MOODLE_26_STABLE
MDL-47588 behat: fix switching back to the main window in Chrome

This fix is mostly based on what Colin Chambers found out. This commit
is a simplification of his work.

The problem is that the Chrome / Selenium 2 integration cannot swich to
a window with a blank name. The work-around applied here is, when we
switch away from an unnamed window, we set a name on it. Then we can use
that name to switch back.