refactor epoll flags and status

refs #169
implemented support for EPOLLET and EPOLLONESHOT

refs #169