unregister transientStateManager on shutdown
allow to provide nuxeo config on context creation