add tableid, version and vps to events

and add some compatibility ifdef's for vdr 1.6

Closes #777 (Thanks to Dirk Heiser)