Allow user to control the error reporting

By default, do not issue any error. Can increase to warning,
and to error.
Document error reporting
Fix bug in setErrorLevel
Make error levels clearer
Merge branch 'errorCtrl'