nn_efd_wait() function implemented

This function allows to wait while file descriptor
becomes writeable. It returns -EINTR in case signal
was catched. This patch is a prerequisite for solving
issue #39.

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