refs #47: Added a test showing that not all unicode is handled correctly
refs #47: found the encoding of the document, and passed that encoding along to tostring
refs #47: update note
refs #47: updates based on code review
Merge pull request #47 from OpenScienceFramework/issue_47

It is possible for a UnicodeEncodeError to occur when stripping the namespace