Type migrations

Migrators check for the existence of registered and deprecated types (domains, workflows, activities) and if the status of these types is not as desired, registers or deprecates the types as appropriate.