Job/tasks worker

This fixes #431 and fixes #447.
Because it has to be before `JobQueue` definition, which is for both client and server side. Probably I could force this by overriding later on `collection` field of already created `JobQueue` with a new instance of `JobCollection`, but it would be less clear, in my opinion.