Make sure when adding types in a random order that the tree ends
up with the correct hierarchy.
For example, let's say that InfoAgent is a subtype of Agent. We first
add InfoAgent to the ObjectTemplateManager and then add
InfoAgent to the ObjectTemplateManager. InfoAgent should end up
underneath Agent.