Start to build Ruby backend for all these scripts.
Add a Rubyized version of xml_escape_txt.