Add An Abstract StreamWriter

For one of my projects, I already created a Class handling streams instead of SplObjectInfo

refs #86

Also add A utility test class StreamWriterTest for easier test stream
creation.

Signed-off-by: Benoît Burnichon <bburnichon@gmail.com>
Current implementation does not take care of the EOL value. Maybe a more robust implementation is needed for such cases.