Added support for forForwarding of output in ReversibleCommand.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>