make EMWH event emitter. Add 'ActiveWindowChange' event

use case: http://stackoverflow.com/questions/19840459/linux-get-notification-on-focused-gui-window-change/19847998#19847998