Perform a transitive closure operation on a type to determine if it
belongs to this set.
The contains method returns true iff the TypeSet contains an instance
of the specified XSType or any of the base types of the XSType.
author: Ryan Shoemaker, Sun Microsystems, Inc.