Add a monitoring thread in ibd-judge.  It calls DB_ENV->lock_detect()
every second.  That way timeouts are honored.

Provide retry mechanisms for ibd-ban and ibd-parse, so that no records
are lost during weekly database trimming.
