Adding tests and formalising the managed protocol.

Using a protocol to provide asynchronous managed
transformations, of the kind used converting text
files to HDF5, and the like.