Add updated per-instance attributes to an array instead of looping over all attributes.
Check if the attribute has already been added to the dirty list.
Merge pull request #940 from AnalyticalGraphicsInc/attributeUpdate

Per-instance Attributes Update