Transformation value edits reflected on mouseout

Also improved get_attribute and set_attribute to deal better with CSS
units. Fixes #43.