added toXML and fromXML inject-code to STIXType, and updated examples and samples