[COURIER-953] ETA-matching

Move estimation code into a separate file, and wrap it up in TripEstimator class.
This should make it easier to be called from outside code.