add better warnings.
Merge pull request #13 from CERT-Polska/#13

Add better messages to reason_failed attribute