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.
These can live on a singleton object: {queue: new Queue(), method: function(){this.queue.method()}};