DataONE: namespace versioning and XML-escaping

Crosswalks for Dryad metadata now use purl identifiers with versions
When generating XML for logging API, now XML-escape the string values.  It was not necessary to escape values in d1rem documents, as this is handled by the XML library.  The logging API doesn't use an XML library.