pybuild-autopkgtest: allow autopkgtest-specific behavior in debian/rules
- PYBUILD_AUTOPKGTEST gets set to "1" when running tests, so debian/rules can have conditional behavior for the autopkgtest test run.
- Targets before-pybuild-autopkgtest and after-pybuild-autopkgtest get called before and after running the tests, if they exist.