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
Merge pull request #6 from santigimeno/fix_event_handling

Events handling modification