Events handling modification

- As this module is mainly intended to be used by WMs, in order to notify
  client requests of HINTS modifications we listen for ClientMessage events.
- Modify ActiveWindowChange event to ActiveWindow.
Add error handling for ChangeWindowAttributes