fix model definition name reference

- validation script had reference to wrong model name property
Merge pull request #873 from strongloop/fix/861-problem-with-validation

fix model definition name reference