Fix cloneNode for elements

cloneNode for elements now duplicates attributes after creating a plain copy
of the original element (i.e., without any attributes). With this change,
mutation handlers can process attributes of cloned elements in the same manner
as the originals.

(ElementImp::cloneNode, etc.) : Refine
(ElementImp::cloneAttributes) : New