MDL-40126 Enrolments: Implemented two webservices to get enrolment instance info

1. core_enrol_get_course_enrolment_methods() which returns all enrolment method instances
which implement get_enrol_info()
2. enrol_self_get_instance_info() will return information about self enrolment instance.
Automatically generated installer lang files
MDL-41024 lib: deprecate isediting
MDL-41025 moodlelib: addressed todo on truncate_userinfo
Automatically generated installer lang files
MDL-40086 file: Correct ordering of subdirectories

Thanks to Mohamed Alsharaf for the proposed solution.
MDL-40935 events: get_legacy_eventname() should be public and static
MDL-40935 phpunit: Remove assertLegacyEventName() since get_legacy_eventname() is public now
MDL-40682 MDL-41000 event name and description return strings

event description is non-localised string
Merge branch 'MDL-40935-master' of git://github.com/ankitagarwal/moodle
Merge branch 'wip-mdl-40126' of git://github.com/rajeshtaneja/moodle
Merge branch 'wip-MDL-41024-m26' of git://github.com/samhemelryk/moodle
Merge branch 'wip-MDL-41025-m26' of git://github.com/samhemelryk/moodle
MDL-40438 migrate all collatorlib:: and textlib:: uses
MDL-41023 weblib: improved coding style
Merge branch 'w32_MDL-40438_m26_textlib' of https://github.com/skodak/moodle

Conflicts:
	lib/weblib.php
Merge branch 'MDL-40086-master' of git://github.com/FMCorz/moodle

Conflicts:
	lib/filestorage/file_storage.php
Automatically generated installer lang files
MDL-40934 core: Bump version requiring major upgrade
Merge branch 'MDL-40934-master' of git://github.com/FMCorz/moodle

Conflicts:
	version.php