Added support for file stream in stream initialization and additional tests.
Added safer initialization of stream and tests.
Added test to ensure end of file return 0 messages.
Add compatibility with Python 3.3.
Fixed more compatibility issues.
Modified read step to behave nicely with stdin.
Merge pull request #11 from jmwooten/add_support_for_file_stream

Add support for file object in stream reader initialization.
some fixes for #11
organize types better