validation reports: added support for message severity and report metadata

not thoroughly tested with existing validation scripts, but I think it should be fine...