Add priority column to Attribute result class.
Rewrite attribute_iterator method of Product result class to prevent duplicates and ensure correct order.
Add attribute_iterator tests.