dogtail: Update test_project
effects: Fixed the _connectAllWidgetCallbacks method to use the parameter

Also cleaned up a bit the code and the docstrings.
dogtail: Fix test_effects