Changed how ModeShape is managed since we want to control the
repository's lifecycle, and updated Polyglotter test to use custom
logger to catch any errors with the metamodel.cnd.