beginElement and endElement

Add a test that uses IDL methods to begin and end SVG animation.

Note a Web Animations bug: it currently keeps the motion path active even though the
animation has been cancelled.