adds bearer token support for PlayReady protection system
fixes segment index calculation caused by javascript floaing point problem
Merge pull request #282 from MSOpenTech/development

Contains a fix for #281, adds bearer token support
fixes DVR window calculations for SegmentTimeline streams
sets live edge to the end of the last described segment instead of its start time
Merge pull request #284 from MSOpenTech/development

fixes DVR window calculations for SegmentTimeline streams
sets initial playback position to the earliest common media time for audio and video
updates initial time adjustment logic so that the time can be moved backward as well as forward
fixes ABR switch for multi-period mpds
Merge pull request #295 from MSOpenTech/development

Contains fixes for calculations of initial playback position
compares streams id's instead of streamInfo objects in qualityChanged event listeners
Merge pull request #299 from MSOpenTech/development

Fixes ABR switch for multi period
sets liveStartTime only if it has not been set yet or new value is bigger than previous one
fixes jasmine tests
fixes possible InvalidStateError when MediaSource.endOfStream is called
allows executiting pending requests even if nextFragmentRules return null
adds an explicit test for undefined value when returning result of rule execution
remove rounding when retrieving currentTime in SameTime RequestRule
adds a threshold when searching for a segment for a time in FragmentModel.getRequestForTime
allows calling endOfStream only for the last stream in multi period mpds