new tres api: getOdCount
added example for virtual actuator
restored event-based behavior when period=0
added author (me) in file headers
fixed wrong placement of functions in tres.c
tres interface bug fixing, release od list memory on uninstall