DATACMNS-583 - DomainClassConverter returns input if given types are the same.

DomainClassConverter now returns input when sourceType equals targetType.
Previously we erroneously tried to convert the sourceType to the idType of the targetType's backing Repository. As a side effect we also avoid performing some unnecessary converter hops.

Origial pull request: #101.