MSE: Calculate SourceBufferRange range end PTS times

As part of PTS/DTS compliance, SourceBufferRange will need to
understand its presentation interval and understand whether or not a
subsequent keyframe is "continuous" with the end of that interval. This CL adds
tracking of the range's frame with highest PTS, adds a method (for test usage
only at the moment) to query whether or not a frame is continuous in PTS with
the end of the range, relocates IsNextInDecodeSequence to private scope, and
adds some better comments. It also adds some unit tests exercising the new
behavior.

This change does not switch over to using PTS for actually managing
buffered ranges, but significantly prepares for that to happen in later
CL(s).

BUG=718641

Change-Id: Iabd19071032d4508abbb9c62a5f7c897d334670b
Reviewed-on: https://chromium-review.googlesource.com/541586
Commit-Queue: Matthew Wolenetz <wolenetz@chromium.org>
Reviewed-by: Chrome Cunningham <chcunningham@chromium.org>
Cr-Commit-Position: refs/heads/master@{#481736}
4 files changed