Implemention of the method replaceComponents(T, T) to replace the
component source by the component target to the node used to make the
call
First test case
remove old from dependency has a better performance
replaceComponent(T,T) :
add a KO test case if source is not found into the list of components of
the node used when calling replaceComponent(T,T)