Sets properties from the given object as attributes on the given element.
up.element.setAttrs(element, { title: 'Tooltip', tabindex: 1 })
element.getAttribute('title') // => "Tooltip"
element.getAttribute('tabindex') // => "1"
The element on which to set attributes.