[migration] more rename_entity_type fix
* ensure repository caches and system tables are properly cleanup
* delete relations from/to entities deleted through sql
So we don't ends up with a corrupted db...
include *.pyinclude */*.pyrecursive-include data external_resources *.gif *.png *.css *.ico *.jsrecursive-include i18n *.pot *.porecursive-include wdoc *