python: Add print_active_window_heirarchy example

The example do more than that. It:
  * Adds a listener for keypresses and releases
  * If it is a F3/F4 it searchs for the active window
  * It prints the local hiearchy of the window

It would be good to mention everything on the documentation.