pillbox-attributes: Add attributes object to addItems method

the third arg, `attr`, does not appear to serve a purpose here and should be removed. otherwise I believe the rest is good. I like the idea to do an `addClass` if someone uses `class` as one of the attributes :+1: