Prevent duplicated CAF entries with product attributes

The script now correctly adds all occurences of each name.
However, when product attribute is used, it'll be checked twice.
Prevent the second check by storing all found names in arrays and only
append to caf_additions when it's not in there.