Added xml_escape, xml_unescape, format_xml methods (issue #47).

* Since HTML is derived from XML, Have html_escape, html_unescape,
  format_html call the xml equivalents.