runDiamond program the other way, because importPhase() uses a
non const XML tree argument.
Also, the change commits a small alteration in the xml write operation
that allows for the top level of an xml file to contain multiple
elements. previously this was not possible.
1) empty child xml elements had an extra / character being added onto
the end of their name
2) comments with beginning and ending white space were being copied
with an extra space added on to the front and end of the string.
1) the read operation would hash any quoted string with a space
character in it.
2) changed children() to return a reference rather than the
complete object
3) write() would leave off the final endl character. This has
been fixed.
Additions:
copy()
copyUnion(): union of two trees; this routine may be problematic
findXMLPhase(): phase lookup.
Notes:
find_XML() still contains a memory leak.