Fixed cmake build to work with Windows
Merge pull request #39 from BugFreeSoftware/win_build

Fixed cmake build to work with Windows
cmake: fix rpath when installing in home
Merge pull request #40 from lclc/rpathfix

cmake: fix rpath when installing in home
TR1: replace _SharedPtr macro
Merge pull request #41 from toxeus/develop

TR1: replace _SharedPtr macro
Removed FOR_EACH macro usage.
Merge pull request #43 from murrekatt/develop

Removed FOR_EACH macro usage.
CMake: add -Wno-missing-braces to CXXFLAGS

This warning interferes with *correct* initializer list usage
with std::array.

See:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25137
Merge pull request #42 from toxeus/noMissingBraces

CMake: add -Wno-missing-braces to CXXFLAGS
Removed unnecessary comments and commented out code.
Moved function into anonymous namespace and rename.
Merge pull request #44 from murrekatt/main_cleanup

Removed unnecessary comments and commented out code.
Cleanup if statements.
Merge pull request #45 from murrekatt/main_cleanup

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__
Merge pull request #46 from murrekatt/main_cleanup

Main cleanup
Adjusted comments around if-statements.