Fixed the validation in the Model constructor to require all properties to be defined ahead of time.
Fixed tests for Model to work with the newly required properties array.
Added functionality in RestApi class to add models and dataTypes, and added tests to make sure they are working.