rename AndSelector and OrSelector to And and Or
move event attribute descriptions to python source

... and improve documentation of config() and hook().