Make compose() and load() ensure that the input stream contains a single document.  Fixes #54.
8 files changed