Fix some display leaks in tests.
* bzrlib/tests/commands/test_cat.py:
(TestCat.setUp): Redirect stdout as cat uses it directly (via
several indirections which ending in Tree.print_file).
* bzrlib/builtins.py (cmd_missing):
Fix some PEP8 issues. Use self.outf instead of 'print'.