Update for new xml-rs and new rust

First commit handles xml-rs splitting `Attribute` into `Attribute<'a>` and `OwnedAttribute`. Second silences warnings about opt-in `Copy` on macro-generated types and changes from `Task` to `Thread`.