Refs #23778 - Using django testing machinery in a reusable app context

Work in progress.
Revert previous commit in the section 'Running tests outside the test runner'
that need to be rewritten.
Add a section 'Running tests inside reusable applications' with a full
runtests.py example.