Implemented EV_CLOSED event for kqueue backend.

- Added new EV_FEATURE_EARLY_CLOSED feature for kqueue.
  Must be supported for listening to EV_CLOSED event.

- All regression tests passed (test/regress and test/test.sh)
- Tested on Mac OS X Mavericks and FreeBSD 9.0