[migration] stop caching the mapping from constraint type name to eid
It's not so frequent that a cache seems necessary, and we were not
invalidating that cache when adding a new constraint type.
Related to #3724892.
from yams.buildobjs import RelationDefinition
class ARelation(RelationDefinition):
subject = 'CWUser'
object = 'CWGroup'