Make gates and wires available for other mods in "preInitialize" phase
Merge pull request #539 from Flow86/patch-gate

Make gates and wires available for other mods in "preInitialize" phase