NEXUS-5306: move locking to ctx lister booting plexus

To avoid chatty logging when exception preventing boot
happens within container, during wire up of things.

Change of merged
https://github.com/sonatype/nexus-oss/pull/171

Issue
https://issues.sonatype.org/browse/NEXUS-5306