Use resque if available

Hello @tommoor, Here is a quick PR to implement #14. It will work for Resque 1.x. Are you using Resque 2.0 preview ?