MDL-44992 Conditional availability tab focus bug

Tabbing through the eye icon triggered it to change. Corrected by
making it work the same way as the delete icon (Enter key to change).
MDL-44617 behat: Automate MDLQA-1464

A student can add submission comments to an
online text type assignment.
MDL-44618 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-44618 behat: MDLQA-18 converted to a behat scenario

In a database activity, students can add
entries to a database.
MDL-44621 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-44621 behat: Automating MDLQA-20

Database activity entries can be viewed in a list
or singly or they can be searched or browsed.
MDL-45142 report_partcipation: Fixed behat feature file name
MDL-41101 mod_assign: removed underscores from event string keys

AMOS BEGIN
 MOV [event_all_submissions_downloaded, mod_assign],[eventallsubmissionsdownloaded, mod_assign]
 MOV [event_assessable_submitted, mod_assign],[eventassessablesubmitted, mod_assign]
 MOV [event_extension_granted, mod_assign],[eventextensiongranted, mod_assign]
 MOV [event_identities_revealed, mod_assign],[eventidentitiesrevealed, mod_assign]
 MOV [event_marker_updated, mod_assign],[eventmarkerupdated, mod_assign]
 MOV [event_statement_accepted, mod_assign],[eventstatementaccepted, mod_assign]
 MOV [event_submission_duplicated, mod_assign],[eventsubmissionduplicated, mod_assign]
 MOV [event_submission_graded, mod_assign],[eventsubmissiongraded, mod_assign]
 MOV [event_submission_locked, mod_assign],[eventsubmissionlocked, mod_assign]
 MOV [event_submission_status_updated, mod_assign],[eventsubmissionstatusupdated, mod_assign]
 MOV [event_submission_unlocked, mod_assign],[eventsubmissionunlocked, mod_assign]
 MOV [event_workflow_state_updated, mod_assign],[eventworkflowstateupdated, mod_assign]
AMOS END
MDL-41101 mod_assign: introduced event base class

Also performed the following -

1) Deprecated the assignment's add_to_log function (part of it's functionality exists in the base class to set the legacy log data).
2) Edited existing events to use the new base class.
3) Renamed event_test.php to events_test.php to match the rest of core.
4) Moved the event tests from locallib_test.php to events_test.php.
5) When setting legacy data use lang_string, rather than get_string, as we may not be using them if legacy log is disabled.
MDL-41101 mod_assign: replaced 'view all' add_to_log call with an event
MDL-41101 mod_assign: replaced 'view submission' add_to_log call with an event
MDL-41101 mod_assign: replaced 'view feedback' add_to_log call with an event
MDL-41101 mod_assign: replaced 'view grading form' add_to_log call with an event
MDL-41101 mod_assign: replaced 'view submission grading table' add_to_log call with an event
MDL-41101 mod_assign: replaced 'view submit assignment form' add_to_log call with an event
MDL-41101 mod_assign: replaced 'view' add_to_log call for the reveal identities confirmation page with an event
MDL-41101 mod_assign: replaced 'submission statement accepted' add_to_log call with an event
MDL-41101 mod_assign: replaced 'view confirm submit assignment form' add_to_log call with an event
MDL-41101 mod_assign: replaced 'view' add_to_log call for the submission status page with an event
MDL-41101 mod_assign: replaced 'view batch set marking workflow state' add_to_log call with an event