wip on more Resque::Failure.each fixes
more wip on bugfix
more wip on bugfixes
refactoring, no need to do this calculation every time
adding test for all failures in reverse order
more tests, and test refactorings