Backport facilities from master.
Avoid Resque 1.25.0 or higher.

Resque 1.25.0 introduced a breaking API change. Fixes #258.