event: Add Loop.get_events()

Returns a tuple of all events attached to the loop. Should aid in
debugging non-exiting event loops.