Added support for special deduction for module import errors

For a Python module, the "error_deduction" attribute can be
specified in the criteria file, which will be used if importing
the submission fails (e.g., due to a syntax error).