Merge pull request #10 from tlivings/master

check required properties exist on model before reading indexOf.
Fixed issue https://github.com/krakenjs/swaggerize-express/issues/37 (filed wrong)