Instead of just checking if module isn't NULL everytime to decide what event_base we now have Event::GetEventBase()

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>