Fix errors raised on reports which use --separate-models option

* warning_code was missing, and the fingerprint method on warning relies
on it always existing
Merge pull request #313 from noahd1/missing_warning_code

Fix errors raised on reports which use --separate-models option