QA-5704 : completely undeploy definitions if possible when undeploying module, in development mode. remove definitions from local registry. register new nodetypes synchronously in external provider.