XmlConverter fixed building XML from array

- ampersand and left angle bracket are now properly escaped
- fixed building XML containing a single root element
- fixed nodes containing empty elements
Added more tests and example test files