External events implemented

Preparation for inproc transport. External events can cross
the boundary between different SP sockets.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
nn_poller header split into nn_poller_epoll, nn_poller_poll etc.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>