enable parsing via istream as well as strings
fix inline << operator for Document
Merge pull request #6 from neloe/load_from_stream

Load from stream