This patch adds two hooks to builtin cvsps. The first hook allows a python function to modify the cvs log before the changeset logic runs. The second hook allows a python function to modify the changesets before they are imported. This second version adds help and a testcase.