Merge pull request #487 from miniway/master

returns -1 with EAGAIN when mandatory is set and pipe is full
Pull upstream OpenPGM 5.2.122 for multi-platform minor fixes.
Merge pull request #488 from steve-o/openpgm-next

Pull upstream OpenPGM 5.2.122 for multi-platform minor fixes.
win32: close zmq-signaler-port-sync event object to avoid handle leak
Merge pull request #489 from pijyoi/master

win32: fix Event handle leak
eliminate code moved into zmq_utils.cpp
set SO_LINGER on first signaler socket to close in order to avoid
TIME_WAIT state.
Merge pull request #490 from pijyoi/master

eliminate dead code moved into zmq_utils.cpp
Merge pull request #491 from pijyoi/issue84

fix for LIBZMQ-84: Address already in use (signaler.cpp)
Fix inconsistently using #if or #ifdef instead of #if defined
First pass at getting cmake build to work with non-Windows systems.

Make doc building option dependent on asciidoc being installed
Fix MSVC build requiring cygwin.
Don't use try_run to get the version
Comments about ICC build failure with 12.x were crazy

Fix warnings with ICC.
Don't use the toplevel cmake paths so the build works as a subproject
Fix cmake build with sun studio
Generated header is not in ../src/
Fix NSIS installer errors, MinGW build.

The CPack NSIS installer was in a state where it would always give a
useless error. I think it was using stuff intended for running cpack
separately from cmake.
Fix MinGW32 build

Fix link errors when using -m32 with MinGW
Fix random 3 space tabs
Fix unused argument warnings
Fix -Wmissing-field-initializers