Added failing test for encoding
Added getter to set the XML encoding
Merge pull request #1 from rhodgkins/encoding

Encoding property of ONOXMLDocument is never set