[TAV-363] Save interaction replies.

This is for reuse in batch situations, such as sweeps. The data and result
status are saved so they can be re-used by other runs.

As part of this work the whole processing of interactions has been substantially
improved.