Enhanced #23606 -- Implement the django.test.Client trace() method.

Tests and documentation are also provided.