Capture errors on script execution

Adding regular expression to capture errors when creating stored
procedures.
This requires to display a "Errors for file:" line and also use a
display errors
command