MODE-2275 Fixed Schemata caching by the JcrNodeTypeManager, which caused newly registered node types to not be visible as long as they are registered with the same namespace.

Do you think this `finally` should have a nested try-finally block? Is there any way that saving the session might fail and thus the node types might not be unregistered?