MDL-40343 forum: indent less when mobile, nested

Changes the indenting of forum replies to be relative to the width of
the parent container, so the indent decreases as threads get nested
deeper. Also reduces the indent size automatically for smaller screen
sizes.
MDL-46219 assignment: delete files when resetting assign activities
MDL-47183: viewhiddenactivities should use the module context

Thanks to Paulo Matos for the forum part of this change.
MDL-33939 gradingform_guide: use correct max grade for scales.
MDL-30358 forms: strict validation is too strict
MDL-36987 auth_manual: fix config for field locking

Thanks to Sergey for the patch
MDL-47755 badges: Fix internal message output

Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
MDL-47805 tool_monitor: More info in adhoc task
MDL-47690 web services: Fixed invalid return parameter type in mod_url
MDL-47850 message_airnotifier: Incorrect Airnotifier Web Service URL
MDL-47882 SCORM: invalid HTML in loadSCO.php
MDL-47210 Files API: IIS, PATH_INFO ignored in required login redirect.
Merge branch 'wip-MDL-30358-master' of git://github.com/marinaglancy/moodle
Merge branch 'MDL-47690-master' of git://github.com/jleyva/moodle
MDL-47734 core: Do not set scrolltop on fixed dialogues

Fixed position dialogues use a different xy positioning than standard
dialogues so cannot use the scrollTop positioning method.
MDL-47703 core_grades: Prevent use of weights with non-aggregated scales
MDL-47690 Course: Remove unused variable from unit tests.
Merge branch 'MDL-47882_scorm_loadsco_invalid_html' of git://github.com/MorrisR2/moodle
Merge branch 'MDL-47850-master' of git://github.com/jleyva/moodle
MDL-47833 core: Change default expiry for message inbound handlers