Overwrite the schemaName property if it is not defined in the class.

Possible solution to #3720. If a model class does not define
a schemaName we should use the datasource's schemaName. We can assume
that people using schemaName want to lock the model onto a specific
schema given the changes in #3210