ProcessorChain: add an .end() function

This function simply "downgrades" the chain to a simple Processor.

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>