Fixing up timebase processing so that negative times are handled.
Also inverting the timebase calculation, which seems to be required.
Adding a new 'time_offset' field to the JSON files. If present, this
is used to offset the current timebase instead of trying to compute it.