Adds stringreponse support, tests

(Closes #1596) now that we have regex and string matches
Also includes bugfix for support of unicode xml_metadata input into
minidom