Merge Construction 4

- Slight improvements to external dependency detection.
- Less dependencies detected, including unwanted (and most of them were wrong) base class dependencies.
- Dependency cache speed improved by removing many for loops. Caching now takes about a minute less and is almost instant. (Based on previous version of HUSACCT without C# analyser code).
- Minor bug fixes