Make the tech tree open fast on trees where items have several parents
* TechTreeDialog.AddNodesRecursive returns early for nodes it has already added, instead of rebuilding them once per parent
* TechTreeData.CheckChainRecursive stops at the first path it finds and searches each node once
* TechTreeData.GetNodesRequiredToUnlock works out each node's path once
* The editor's TechTreePreview copies get the same fixes
* A fully unlocked T2 builds in about 150 ms instead of 1,200 ms, and unlock results are unchanged