Capture debug logging in tests

With the move to testr we no longer automatically retain and print
logging information in tests. Using fixtures is the standard way to do
it and also the way used by nova.

Change-Id: Ie8d893b5979beb14bb6512a5ecc351c1a3ff0731