Merge pull request #510 from miniway/master

LIBZMQ-497 there could be unsent bytes in encoder
Corrected linking error in MSVC build

MSVC build fails with linking errors for unresolved symbols SetSecurityDescriptorDacl and InitializeSecurityDescriptor in signaler.obj
Adding the relevant link library (Advapi32.lib) to VCLinkerTool fixes this (tested MSVC2010 on XP and Win7)
Merge pull request #511 from mjasperse/patch-2

Corrected linking error in MSVC build
solved broken tests compilation
Merge pull request #512 from montoyaedu/master

broken tests compilation. Makefile.am
Some DNSs will resolve ANY domain name so I made more reliable errors.
Merge pull request #513 from hintjens/master

Fixed test_connect_resolve
release critical section on failure to create signaler fdpair
Merge pull request #514 from pijyoi/fixcs

release critical section on failure to create signaler fdpair
Updated NEWS for 3.2.2 stable
Merge pull request #515 from hintjens/master

Updated NEWS for 3.2.2 stable
Corrected more linking error in MSVC build

- raw_encoder.cpp and raw_decoder.cpp in missing in MSVC project
Fixed 7 MSVC2008 Compiler Warning (level 3) C4800: 'const int' : forcing value to bool 'true' or 'false' (performance warning)

- added explicit test "(xxx != 0)" to get a "bool" value out of the "int" expression
- see the MSDN recommandation http://msdn.microsoft.com/en-us/library/b6801kcy(v=vs.90).aspx
Merge pull request #516 from SRombauts/master

Corrected some more linking errors in MSVC build
Windows CE support : using standard _WIN32_WCE flag instead of WINCE

- when compiling for Windows CE, a C++ project must define the preprocessor definitions: UNDER_CE=$(CEVersion),_WIN32_WCE=$(CEVersion)
- choosing the "_WIN32_CE" form for uniformization with "_WIN32" and "_WIN32_WINNT" already used in libzmq (boost is using both forms)
- see http://msdn.microsoft.com/en-us/library/ee479161(v=winembedded.60).aspx
Windows CE support : uncommenting #define EACCES needed

- tested for Windows CE 5.0 under Visual Studio 2008 Pro
- tested for Windows XP under Visual Studio 2008 Pro
Windows CE support : some more #if !defined _WIN32_WCE

- Windows CE does not manage security attributes (no SetSecurityDescriptorDacl(), SetEvent (NULL, xxx) ...)
- Windows CE does not inheritance of sockets for child process (SetHandleInformation ((HANDLE) *w_, HANDLE_FLAG_INHERIT...)
- see comments about story "Porting ZeroMQ to Windows Mobile" on webpage http://www.zeromq.org/story:5
Merge pull request #517 from SRombauts/master

Windows CE support : using standard _WIN32_WCE flag instead of WINCE
Corrected linking error in MSVC 2010 build

- raw_encoder.cpp and raw_decoder.cpp where missing in Visual Studio 2010 project
VS2010: adding another pre-build command to copy platform.hpp in perf/ directory