capture rich output as well as stdout/err in capture_output

Not for 1.0

closes #3742