Added support for e and h in the register flags (was only there in poll), and support for POLLRDHUP linux extension
Fixed usage of poll flags
Merge pull request #107 from sponce/master

fixed usage of flags in poll