Finished first pass at model validation

* Add error for model with discriminator but no subTypes
* Add error for model with undefined required property