Two important fixes are in this commit: handlers from decorators are added when class is defined (and not when class is instantiated); also multiple events can be specified in the decorator.
From now, global events are emitted by qubes.Qubes object and handlers are registered there.