NEXUS-6232: Prevent concurrent execution of createrepo on same data

Added exclusive lock around MD generation (invocation of createrepo)
that assures that on same repository instance only one
Generate Yum Metadata task will run, while the others will remain
blocked waiting for the lock.

Issue
https://issues.sonatype.org/browse/NEXUS-6232

CI
TBD