Remove debug message
Refactoring in ModuleApplicationManager

Moved logic for starting an Application to Application
Made joinApplication more readable
Changed shutting down of Applications: FunctionBlocks are no longer
removed for the Application, so that ModuleApplicationManager can get
the list of blocks that were shut down. Previous code to remove
FunctionBlocks looked broken anyway