MDL-38570 Added new function "cron_delete_from_temp" with unit test
for temporary file and directory cleanup under tempdir in lib/cronlib.php