Add test battery for pre-revprop-change
post-revprop-change: add basic tests

Rename background script.
Support both Trac 0.X and 1.X.