Fix attribute (re)creation. Previously, the injected component's AttributeDefSet was not updated nor processed and only the original remained so client provided components only had the original component's attributes which is not right. Now, we replace the AttributeDefSet and create or update attribute values.

@bug W-1736937@
@rev fabbott@
Merging origin/bob/master-pending/fix-attributes into master