compatibility with resque 2

This enables resque-lock-timeout to work with resque 2. Perhaps this could be kept in a separate branch until resque 2 is released.