Added the ThreadedStreamReader class.
Added initial threading stuff.
Added a queue and populated it with the lines read from the stream. Added a stream_printer function to ease reading of stdout and stderr.