Auto retry failed jobs

This pull request addresses issue #60 and adds auto-retry functionality to failed jobs.

@ruudk and @phoolish any chance you could test this ?

I have updated the documentation with a specific section on the subject, hope it's clear enough.