reuse rt_init/rt_term in main

- runModuleUnitTests is no longer called from rt_init
  but needs to be called separatly
Merge pull request #587 from dawgfoto/refactorMain

reuse rt_init/rt_term in main