Fix boundary conditions in kronos

This also adds an `end_id` parameter which is analogous to `start_id`. 
There are 3 separate filters. This one picks out events in `(start_time, end_time)`. The other two pick out events where `time=start_time` AND id >= start_id` (analogous to `end_time`).