check-code: Add a ``maxerr`` argument to the ``checkfile`` function
check-code.py used to halt after 15 errors. This changeset adds a new
argument to the checkfile function to control this limit.
adding baradding foo% state dump aftern 666 -1 barn 666 -1 foo% status! bar? bazC foo