Removed over-long pauses in tests

- used msleep (10) in most places instead of zmq_sleep (1)
- may cause failures on slower machines
- to change, modify SETTLE_TIME in testutil.h
- tested down to 1 msec on fast boxes

Conflicts:
	tests/test_connect_delay_tipc.cpp
	tests/test_proxy.cpp
	tests/test_sub_forward_tipc.cpp
	tests/test_term_endpoint_tipc.cpp
	tests/testutil.hpp
Fix for issue 574
Simplified error handling for make_fdpair on Windows
Simplified fdpair reset after fork
Fixing issue #583. Using low resolution timer for clock::now_ms
Add test case for many sockets

Conflicts:
	CMakeLists.txt
	tests/Makefile.am
Fixing broken build issue #583
Get maximum number of sockets it can handle from poller_t
Make FD_SETSIZE = ZMQ_MAX_SOCKETS_DFLT + 1 so there is room for the repear socket.
Fix formatting.
Signal that the peer performed orderly shutdown
Cherry picking fixes from master
Merge pull request #32 from hintjens/master

Cherry picking changes from libzmq master