check_memory: stop using long-deprecated twisted internals
Makefile: fix test-clean by using 'distclean'