Backport facilities from master.
Avoid Resque 1.25.0 or higher.

Resque 1.25.0 introduced a breaking API change. Fixes #258.
Merge pull request #259 from tamird/v1.9-stable

Avoid Resque 1.25.0 or higher.