WIXBUG:4561 - update WixCop to migrate v3 source code to v4.0.

We need to copy all of the attributes out of the element, remove them then add them back to get namespaces updated. This could be:

    IEnumerable<XAttribute> attributes = element.Attributes().ToList();

If preferred.