Capture stdout in for test_wsgi:test_debug
Capture stdout in for test_wsgi:test_debug

This adds stdout capture, and verification for the wsgi.Debug
middleware test. It was previously untested, and spewed stdout into
the test output stream.

Change-Id: I564d04c7d39df8bf0ee02486c4bb47161fc241c1

rahulunair/nova,openstack/nova,vmturbo/nova,sebrandon1/nova,jianghuaw/nova,cloudbase/nova,cloudbase/nova,alaski/nova,mahak/nova,klmitch/nova,rahulunair/nova,sebrandon1/nova,phenoxim/nova,jianghuaw/nova,cloudbase/nova,openstack/nova,mikalstill/nova,mahak/nova,sebrandon1/nova,rajalokan/nova,mikalstill/nova,Juniper/nova,vmturbo/nova,klmitch/nova,klmitch/nova,gooddata/openstack-nova,rajalokan/nova,Juniper/nova,openstack/nova,vmturbo/nova,gooddata/openstack-nova,mikalstill/nova,Juniper/nova,rajalokan/nova,jianghuaw/nova,phenoxim/nova,hanlind/nova,rajalokan/nova,alaski/nova,vmturbo/nova,jianghuaw/nova,klmitch/nova,hanlind/nova,mahak/nova,gooddata/openstack-nova,Juniper/nova,hanlind/nova,rahulunair/nova,gooddata/openstack-nova