sage-dev: fixup edit_ticket
sage-dev: fixup some online tests
sage-dev: use DOCTEST_MODE in git_interface