Relationships now use the actual ClassName of the related model not that specified by the relationship for when the related model instance is derived from that specified in the relationship.

The mode RELATED_OBJECT_EXCLUDE will prevent related objects from being generated but still allows relationships to be generated.
Merge branch 'wakes-changes'

* wakes-changes:
  Relationships now use the actual ClassName of the related model not that specified by the relationship for when the related model instance is derived from that specified in the relationship.