Add a TryRunner class for easy job configuration.

Nassim: I'm still doing some testing, so please don't merge straight away, but let me know what you think.