added missing param check
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-js into develop_2.0
fix for #167, failure to find model properties with canonical references