Add hook to prevent gearman doing work.

Can be used if a required resource temporarily goes away to stop
accepting new jobs until the resource is back.
Fix typo.
Add comment about signal handling.
Merge pull request #12 from gauthierm/add-gearman-can-work

Add hook to prevent Gearman doing work.