tree-rename-dataAttributes: dataAttributes to attr object for consistency w/ pillbox

Adds consistency with pillbox's `addItems` parameter `attr`. Control can still read `dataAttributes`, but it will eventually be deprecated.