Pulled in cond for recoverable condition support

See http://github.com/sykopomp/cond for info and docs.
The library is still very, very young, but I think at least in these cases it should be fine.
Now we have restart support (called 'recoveries' in `cond`)