Added updateAttributes helper to determine which attributes have updated, and update the layout automatically when some have been updated
dom:attrmodified from writeAttribute now gives memo with array of attribute names for changed attributes