making names more explicit and fixing a bug in pollout (formerly ready)
Merge pull request #667 from taotetek/master

Problem: names weren't explicit
Cleaned-up and fixed zsock_ready/waiting code

- proper indentation and hyphens for header
- zsock_ready() was testing ZMQ_POLLIN
Problem: zsock_waiting code is too complex

Solution: just test zsock_event()

In fact these two methods could probably be removed without harm.