Bug 1075970 - Ensure that the forward (DOMElem->TargetObj) and reverse (TargetObj->DOMElem) maps are one-to-one mapping

Done by creating "reference stubs" to target objects when we're inserting things to the maps.