PIM-1716 : fix flexible value subscriber
PIM-1716 : change attribute type factory to be able to explicitely check if a type
is available for an entity