Implemented support for derived streams.

Derived streams are automatically populated by data from other
streams, postprocessed by an operator. They can currently be
used to compute a sum of multiple different streams or a derivative
of another stream.