MDL-47572 libraries: modify unittest to avoid random timing fail

Thanks to Nigel Cunningham
MDL-47583 tinymce_managefiles: correctly decode filename
MDL-47583 atto_managefiles: correctly decode filename
MDL-44548 mod_scorm: force an external sync to check for updated files.
MDL-47594 core_accesslib: removed three useless lines of code
MDL-47613 wiki: allow searching several words

Thanks to Sandeep B for suggested solution
MDL-47631 report_participation: fixed filtering by letter
MDL-47646 CURL redirect unit test: handle broken servers
MDL-38732 gradereport_grader: Handle simultaneous graders
MDL-47667 profile unit tests: don't assume none by default.

E.g. if an add-on creates a user profile field on install, the test was
failing.
Merge branch 'MDL-38732-27' of git://github.com/FMCorz/moodle into MOODLE_27_STABLE
MDL-47629 quiz review: display cloze feedback on top of "Check" button
MDL-38732 gradereport_grader: Undefined variable in unit tests
Merge branch 'wip-MDL-47583-m27' of git://github.com/marinaglancy/moodle into MOODLE_27_STABLE
Merge branch 'wip-MDL-47572-m27' of git://github.com/marinaglancy/moodle into MOODLE_27_STABLE
Merge branch 'MDL-47646_27' of git://github.com/timhunt/moodle into MOODLE_27_STABLE
MDL-47431 advanced grading: correct use of frankenstyle names for consistency
Merge branch 'MDL-38732-27' of git://github.com/FMCorz/moodle into MOODLE_27_STABLE
MDL-47686 assign: Fix restoring from a mod_assignment backup.

This was only working for admins.
Merge branch 'wip-MDL-47613-m27' of git://github.com/marinaglancy/moodle into MOODLE_27_STABLE