More work on the worker

Hi Wichert,

If found your work-in-progress on a Pyramid-aware rq worker, and tried to make it work for me. I also tried to bring it up to date with the current worker code in rq.

What do you think?

Ronan