Pr 107

This is an update to https://github.com/libevent/libevent/pull/107. I merged in artemg's original changes and added the appropriate READING/WRITING bitmasks.

Allows the appropriate error/event callback to be executed for a filterevent when the filterevent read/write callbacks return an error.