Remove ErrorReport reportWarning

This was not used anywhere.

This also removes the dependencu in Closure mocking framework.

Closes #271
Closes #276