Enabled back the CompositeDomainObjectSetTest.

It seems that it was disabled by overlook. Fixed one of the tests.
GRADLE-2873 Fixed issue with conf.extendsFrom and in the composite domain object set.

I'm not sure if the composite domain object set should behave they way I changed it. However, it makes sense from the standpoint of how we use it for the inherited dependencies and the inherited artifacts.