Fix the kqueue bindings

- KernelEvent struct layout was incorrect for 32-bit
- kevent takes the kqueue handle as its first argument
Return int from KEvent instead of bool

Otherwise there is no obvious way to determine the number of events
that were actually put in your eventList array.
Merge pull request #59 from mono/corrado/fix-kqueue

Fix kqueue bindings