[schema sync] Update repo._type_source_cache when renaming an entity (closes #2094470)
When an entity type is renamed as part of a migration, it leaves stale
entries in repo._type_source_cache, which makes subsequent operations on
those entities fail (they look for the old entity name instead of the
new one).
The property mecanism
---------------------
.. XXX CWProperty and co
Property API
~~~~~~~~~~~~
.. XXX feed me
Registering and using your own property
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. XXX feed me