Improves parsing of free-text medication signatures. In the process, improves
the implementation of val() [for extracting the value of an XML node]
and adds a new function to xml.js for getting a particular tag
without recursively descending.