Event power integration

Proposal PR, do not merge.

It seems to be working. CFME correctly pushes the requests into the listener and the pickup works. There are, however, two problems:
* power_off_req event is not invoked for some reason.
* for some events, the difference between time arrived and time registered is computed wrong (big and negative). I will have to check it out.