Add support for EV_TIMEOUT to event_base_active_by_fd

Support for EV_TIMEOUT was removed from event_base_active_by_fd back in 87fa2b004a65257a6cba4b57dc7fc0fb06106342. This adds it back. 

Let me know if anything seems amiss, thanks!