[lldb/Util] Add a utility to run transparently capture and replay tests.