Remove EventPreventer.

The implementation seems completely redundant given the fact that each
event can always check the EventsInEffect object to achieve the same
result.

If it turns out this is actually useful, then I suppose this commit can
be reverted... :sunglasses: