Support for simple begin and end times

Times may be specified using attributes, or using
beginElement/endElement DOM calls that are exposed by the
SVGAnimationElement IDL.

Automated tests still to be added.
Move to constructor caller.