Merge pull request #3820 from adriaanm/report-filter

refactor error/warning reporting
Restore reporter forwarders in CompilationUnit