Observe new animation elements

Use a Mutation Observer to detect when SVG animation elements are added
to the document.

Our test verifies that when the IDL attribute targetElement is read on a
newly created animation element, the target node has correctly been set.