fix ModuleInfo foreach

- break only stops inner loop but continues
  iteration if there are multiple SectionGroups
Merge pull request #446 from dawgfoto/fixModuleInfoApply

fix ModuleInfo foreach
unittests with shared library

- add SHARED flag to posix.mak

- default to SHARED=1 on linux

- setting SHARED to a non-empty implies PIC
  and uses a shared library for testing

- setting SHARED to an empty string
  uses a single executable for testing

- Add a moduleUnitTester that only runs a single unit test
  selected via a cmdline argument.
  This allows to run tests in parallel with a single
  executable/shared library.