change cache cleaning to use loops instead of tasks
The mechanism for associating a worker task to a database now uses loops rather than tasks. For this reason, the parameters to dns_cache_create() have been updated to take a loop manager rather than a task manager.
Edited by Evan Hunt