[TAV-363] Save interaction replies.

This is for reuse in batch situations, such as sweeps. The data and result
status are saved.

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