fixed attempt duration for multiple attempts in single session

Added variable "offsetDuration" which is set to the negative of session
duration at the start of a new attempt. This is then taken into account
when calculating attempt duration.
Amended time functions to cope with negative values.
updated verb uris