Adding MultiWriteIO class to allow logging into multiple streams at once
Adding logging support.

Fixes #3