Merge pull request #44 from murrekatt/main_cleanup

Removed unnecessary comments and commented out code.
Cleanup if statements.
Removed unused define.
Change to automatic variable for ZMW socket wrapper. No need for allocation on heap.
Cleanup of logging to avoid __FUNCTION__
Adjusted comments around if-statements.
Fix for main function signature.
Moved out helper class into anonymous namespace.
Changed to use nullptr.
Clarified endifs.
Cleanup of variable naming and consts.
Rearranged ProcessMessage function flow for clarity and less nesting.
Cleanup of comments and code around sleeping.
Misc small cleanup.
Moved out main loop into run function.
Moved out socket init into own function.
Removed unnecessary assert as it is already in wrapper class.
Removed unused define.
Moved out message processing code into own class.
Moved out init for socket to MessageProcessor class.