New variable and decorator enable skipping tests outside dom0, that is, without connection to libvirtd.
qubes.tests.TestEmitter is intended to check whether specific event fired on given emitter.