Add command to get attributes of an element

Related to this topic:

UI-licious should have a built-in command to get all attributes of an element.