Use nose to capture logs during test

Set the loglevel of beets to ``DEBUG`` but capture all logging statements with nose. The logs are only printed when a test fails. This gives us more information when tests fail while being completely silent on success.