[Reviewer: Alex] Escape single quotes in XML

Fixes https://github.com/Metaswitch/crest/issues/95.