Sets all key/values from the given object as attributes on the given element.
up.element.setAttrs(element, { title: 'Tooltip', tabindex: 1 })
The element on which to set attributes.
An object of attributes to set.