Add StreamMergeWriter, some documentation and tweak AbstractStreamWriter

Signed-off-by: Benoît Burnichon <bburnichon@gmail.com>