recoco: Fix task_function when function isn't generator
recoco: Fix task_function when function isn't generator

The task_function decorator is meant to take a generator, but it's
possible it'll get a normal function instead.  To address this, we
just wrap it in a generator!  However, that was previously broken
if the function took arguments.  Fixed.

noxrepo/pox,noxrepo/pox,MurphyMc/pox,noxrepo/pox,MurphyMc/pox,MurphyMc/pox,MurphyMc/pox,noxrepo/pox,MurphyMc/pox