move require resque/failure down to where it's being used