Corrects catching of some 'click' events

Some lists may trigger four 'click' events of themselves ('li' events for us)
when the whole slide is clicked. This prevents the 'li' events to be saved by
ignoring events separated by less than 50ms. A 'show' event following a 'reset'
event is still saved though.
Read 'time' as integer when parsing XML files
Implements API functions