Jalopy and SQL validation rules

Jalopy and SQL validation rules plus changes to allow a validation function to return more than one error message.