[MDL-44170] Added form field for url matched type.

Added a new mod_form field called urlmatchedtypeid which is populated
by mod_form.js when a matched url is entered. On save, if typeid is 0
and urlmatchedtypeid is supplied, the type id is set to the url matched
id.
MDL-44342 Airnotifier: Bug in retrieving user prefs (fixes fail in unit test)
MDL-44927 Atto: Fix bad merge of MDL-44760 (missing menu entry)
Merge branch 'MDL-44170-master' of https://github.com/adrianfish/moodle
Merge branch 'MDL-44927-master-fix2' of https://github.com/damyon/moodle
MDL-44170 LTI - fix unit tests.
MDL-44868 editor_atto: Remember the last focused button in the toolbar
MDL-44070 core_completion: Removed unwanted tag
Merge branch 'MDL-44868-master-fixup' of git://github.com/FMCorz/moodle

Conflicts:
	lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-min.js
MDL-44342 airnotifier: Added new functions to the Mobile service
MDL-44342 air notifier: Fixied checking for empty values in event object