MODE-2373 Unable to publish VDB

Corrected logic that creates and registers namespace prefixes related to Model Extension Definitions (MEDs). Added test that sequences the VDB attached to the issue.