Extended Wrangler.doctest().

The method now passes all doctest output through the IOManager.

This means that all doctest output is now written to the IO transcript.

This is made possible by setting print_to_terminal=False in
RunDoctestsScript.process_args().