Refactor app test helpers out into django-harness.