Improve generator to include namespace for return types in messaging functions whenever required.
Improve generator to include namespace for return types in messaging functions whenever required.

jorik041/maccore,cwensley/maccore,mono/maccore