Added the needed logic for running refresh queries from the web
interface.
Added a simple function to tasks.py that takes an iterable of arguments
and a task and launches many subtasks formed by 32 tasks each (for not
having a huge amount of tasks launched at the same time)
Signed-off-by: volpino <fox91@anche.no>