MDL-33955 fix sloppy whitespace in curl class
MDL-33955 make downalod_file_content() use curl class and cleanup

The options in constructor were renamed to setttings in order to prevent confusion.
This removes ignored CURLOPT_BINARYTRANSFER, add newline header cleaning,
reworks proxy settings and some other minor issues.
MDL-33955 add file download and curl unit tests
MDL-40207 simplepie: reduce false failures in unit tests

The simplepie tests time out too quickly due to a low connect timeout,
to fix this:

* Introduced a way to set the timeout during intitial construction
* Converted the unit tests to use a high timeout value
MDL-40165 Backup: Split out test classes into multiple files
Merge branch 'MDL-40207-master' of git://github.com/danpoltawski/moodle
MDL-37761 Backup: Do not include files in backups when importing courses/activities

When we import courses or duplicate activities, the deduplicating nature of
the file_storage system means that we don't actually have to include the
real files in the backup - just their metadata from the file table.

The restoration process needs to know not to expect files from the backup
phase so a flag is set in moodle_backup metadata.
MDL-37761 Backup: Add phpdoc for MODE constants
Revert "MDL-39474 Library: Make a fast way to check developer debug mode"

There were multiple problems discovered.

This reverts commit 5c92e7a740fbce4184cf204a11ebbb6b918a376b.

Conflicts:
	admin/cli/install.php
MDL-39854 reimplement Frankenstyle support and enable classloader

Better performance, more reliable, completely self contained,
more validation and full backwards compatibility.

This will also allow us to implement ignoring of plugins.
MDL-39854 use class loader in editor_tinymce
MDL-39854 use classloader in add-on installer tool
MDL-39854: version bump for classloader new world
MDL-39854 fix installer regression caused by new core_component
MDL-39854 fix test_finder regression
Merge branch 'fix_classloading5' of git://github.com/skodak/moodle
Merge branch 'MDL-37761-m' of git://github.com/andrewnicols/moodle
MDL-39854 fix get_list_of_plugins() test
MDL-39854 disable component caching in BEHAT_UTIL
MDL-40103 stats: correct incorrectly copied stats tables.