MDL-44575: Prevent cron from sending feedback notifications when assignments are hidden in the gradebook
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-44398 tags: Fix incorrect usage of caps
MDL-45166 behat: Steps to speed up mod_data features creation

A step to add a field to a database and
another one to add a database entry.
MDL-45166 behat: MDLQA-18 converted to a behat scenario

In a database activity, students can add
entries to a database.
MDL-45165 behat: Adding text selector

Same behaviour than I should see step,
it looks for the text in the node + descendants,
but, to get the lower level match discards the
nodes with children that also contains the
same text.
MDL-45165 behat: Automating MDLQA-20

Database activity entries can be viewed in a list
or singly or they can be searched or browsed.
MDL-45292 filepicker: fixed border style

Fixed base style issues on RTL.
MDL-45315 block_news_items: Add missing depedency
MDL-45256 portfolio: Do not require strict XML when parsing content
MDL-45256 portfolio: Unit tests for rewrite pluginfile urls
MDL-45273 quiz: move admin settings into classes folder.
MDL-45273 remove the need for quiz settings.php to include locallib.php.
MDL-45273 only create the quiz settings if necessary.
MDL-45273 quiz: Fix codechecker issues.
MDL-42635 lesson: change from error to user friendly message
Merge branch 'MDL-27459-m26' of git://github.com/sammarshallou/moodle into MOODLE_26_STABLE
Merge branch 'MDL-45315-26' of git://github.com/danpoltawski/moodle into MOODLE_26_STABLE
MDL-45283 restore: Prevent failure when user course grade exists

When we restore a course, the grade that a user has for the
grade item of the course cannot be created twice. If we try
to create it when it already exists, a database exception is
raised because of index duplication.

The safest way to proceed is certainly to ignore the grade
information from the backup, otherwise we could potentially
overwrite existing information. Though, this only applies
to restore as merge, and it does not affect the update of
the course grade.
Merge branch 'MDL-45256-26' of git://github.com/FMCorz/moodle into MOODLE_26_STABLE