MDL-20438 make sure that the curl class has been included
MDL-20438 make sure that the curl class has been included

The filelib is usually loaded already. However, during some steps of the
upgrade the curl class must be available to perform fetches of updates
and the library does not need to be loaded yet.

dilawar/moodle