added model validator trait
Merge pull request #2 from Rovak/feature/modelvalidator

added model validator trait