Fix component diagram and composite diagram after migration to uml 2.5

In UML 2.5, clientDependencies is no derived. So the code was updated
to remove all the clientDependencies.add, instead we have to set the
corresponding client reference.