add pending() method for all event types
sprinkle some pending() checks
document pending() method
Merge pull request #2 from sbertrang/add-pending-methods

add pending methods (thanks Simon Bertrang)