fixes calculations of availability window for static mpds
fixes calculations of segment number for SegmentTemplate mpds
fixes a potential float and negative value of a segment number
fixes early end of stream signaling for multi-period mpds
fixes availability window calculations
fixes segment list generation logic for SegmentList mpds with dynamic type
Merge pull request #181 from MSOpenTech/dynamic-support

Dynamic support fixes