Added option (#define CAPTURE_STDERR)

if set then the DebugTrace calls only for failing tests are shown
Added info about total number of tests
Thread-safe version of OutputCapturer
Fixed compilation error
Merge branch 'show-output-only-for-failing-tests'
Merge remote-tracking branch 'wp/master'
Merge branch 'master' into defines