Added QTL descriptors.
Miscellaneous changes.
Added the GID attribute to the terms XML schema: to allow having custom GIDs.