Unregister a type. Note that this should only be called by the static type release functions (i.e. Entity::ReleaseStaticType()). @param[in] pType Type to unregister. References to the parent type and the type template will be released as well. @see Register()