KQueue poller implementation (for FreeBSD / Mac OS X)

As epoll is available on Linux only - this pull requests enables high-performance polling on FreeBSD and Mac OS X by providing alternative mechanism for those platforms, kqueue. Review welcome.