Merge pull request #37 from lclc/git

Get git submodule dependencies
clang-format: fine-tune some parameters
Merge pull request #38 from toxeus/tuneClangFormat

clang-format: fine-tune some parameters
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.