Fixed #23663 -- Initialize output streams for BaseCommand in __init__().

This helps with testability of management commands.
Fixed #23686 -- Tweak color output of the system check framework.