fix Issue 10440

- print a warning and ignore shared library sections
Fix issue 6646: array.reserve should be callable from SafeD.
Simplify unittest per Kenji's comments.
Merge pull request #536 from quickfur/issue6646

Fix issue 6646: array.reserve should be callable from SafeD.
remove ModuleInfo.Old
Merge pull request #537 from dawgfoto/removeOldModuleInfo

remove ModuleInfo.Old
Merge pull request #531 from dawgfoto/fix10440

fix Issue 10440