report errors

Modify CheckErr and StopOnErrErr to report the error if there aren't any
other messages.

When `hugo` is run on a site with no content, no errors are reported. `hugo server` also doesn't report any errors, but it returns immediately if there is no content. More generically, errors that occurred during the site generation were being swallowed. This change ensures that the errors that occurred in those situations are reported.