publisher: fix STDOUT reporting, add tests

I mistakenly thought that the `log` package reported to STDOUT, but it
reports to STDERR.  This moves us to `fmt`.

I also added a test for the `StdoutPublisher`.