Add new class for collecting statistics per each error severity. Add a new tab to Statistics-dialog for these numbers.