Renaming clidocevents.py -> docevents.py since it is not really CLI-specific.