Add UT for xml escape function
Merge pull request #892 from Metaswitch/xml_escape

No reviewer: Add UT for xml escape function