Fix for JRuby lazy creation.

https://issues.sonatype.org/browse/NEXUS-7600

By mistake, commit b68e61dc35ddd84a933926c14c760cfe6e472af5 made
JRuby container creation to be non-lazy.

This fixes it, and simplifies it by introducing a
lazy provider that also cleans up.