Porting to FreeBSD, chapter 4

Started kqueue/kevent native support
Merge branch 'master' of https://github.com/xaionaro/clsync