MDLSITE-2598 added hub_get_sites function to a new moodle.org stats service.
MDLSITE-2598 added webservice to fetch data for insertion into local_moodleorg's registry table.