MDL-45292 filepicker: fixed border style

Fixed base style issues on RTL.
Merge branch 'MDL-45266-master' of git://github.com/danpoltawski/moodle
Merge branch 'MDL-45156_master' of git://github.com/dmonllao/moodle
Merge branch 'wip-mdl-45293' of git://github.com/rajeshtaneja/moodle
Merge branch 'w18_MDL-45287_m27_dbreset' of git://github.com/skodak/moodle
Merge branch 'MDL-45229-master' of git://github.com/FMCorz/moodle
MDL-45312 qtype_missingtype or qbehaviour_missing cannot be uninstalled.

They are required by the system.
Merge branch 'MDL-45221-master' of git://github.com/andrewnicols/moodle
Merge branch 'MDL-45312' of git://github.com/timhunt/moodle
MDL-45289 block_course_summary: Add behat tests
Merge branch 'MDL-44916-master' of git://github.com/phalacee/moodle
MDL-44614 behat: Added missing @_file_upload
Merge branch 'MDL-45289-master' of git://github.com/danpoltawski/moodle
Merge branch 'MDL-44614_master-missing-upload' of git://github.com/dmonllao/moodle
MDL-45315 block_news_items: Add missing depedency
MDL-45229 event: Adding information about stricter validation
Merge branch 'MDL-45229-master' of git://github.com/FMCorz/moodle
MDL-27459 Completion: When ratings off, disallow grade completion

For activities that use ratings, there is no grade unless ratings
are enabled. The completion system still lets you select 'complete
when user gets a grade', which leads to later errors.

This change simply disables the 'completion on grade' field if
ratings are enabled for the activity, but not turned on in the form.
MDL-45256 portfolio: Unit tests for rewrite pluginfile urls
MDL-45256 portfolio: Do not require strict XML when parsing content