Display errors in Console summary. Resolves #1839.
Moved writing errors statistics to ConsoleErrorsWriter.