Remove ErrorReport reportWarning

This was not used anywhere.

This also removes the dependencu in Closure mocking framework.

Fixes #271