Enhances the generated XML file

Stops writing id="undefined" in the XML file and adds another comment in it.
Adds functions to the public API

Function document.session.play should start playing back the session, .pause
should suspend or resume it, and .jump should jump to a specified time in
seconds.