[2.11.x][NEXUS-7596] Only activate Yum capabilities if create/mergerepo are available

https://issues.sonatype.org/browse/NEXUS-7596
Could this be moved to the Yum plugin's `MetadataCapabilitySupport` class? That way you'd only need to add it once.