rearrange 5.1 intra-patch upgrade scripts
have extended metadata note new string map properties
add SQL for deleting map property entries
before deleting an entity, delete its map property entries