Preserve a few of the failed nodes for investigation

The most recent <KEEP_FAILED> nodes will be preserved as long as they
are not older than <KEEP_FAILED_TIMEOUT>
Merge pull request #27 from BobBall/keep_failed

Preserve a few of the failed nodes for investigation