Fixed some XML glitches.
Implemented the term and node query web services, term references may also be provided as kTAG_GID references.