Optimize BasalUtil to be faster

New code also handles overlapping temps and expects data to come in sorted by time.  So, some tests were adjusted to accommodate those assumptions
fixed squashing and added a test for it
Merge pull request #2 from tidepool-org/cheddar/optimize

Optimize BasalUtil to be faster