Fixed use of deprecated zmq_init/term
Rewrote raw test completely
Rewrote completely, was bogusly testing EAGAIN
Lots of cleanups to self-tests
* Removed or truncated sleeps so the tests run faster
* Removed dependencies on zmq_utils
* Rewrote a few tests that were confusing
* Minor code cleanups
Fixed issue #499