Fixed #22449 -- Colorized output of test results

Added tests, code, and documentation for colorizing the output of the `manage.py test` commmand.