update for zero duration segment. fixes #172
syntax update per @gkatsev request
Merge pull request #173 from videojs/hotfix/zero-duration

update for zero duration segment. fixes #172
prevent the segment xhr error handler from being called during seek

When an XHR is aborted, the error handler is called. The error handler for the
segment loader increments the mediaIndex of the player. This is undesired
because setCurrentTime has already set the mediaIndex to the proper target
segment.
add a cancelKeyXhr akin to cancelSegmentXhr
Merge pull request #177 from videojs/cancelXhrs

Cancel xhrs
encapsultate bandwidth routine
Fix bandwidth test.
Also, update phantom.

Conflicts:
	src/videojs-hls.js
Fix tests
Ignore top level videojs events
Request a new playlist based on initial playlist
call fillBuffer immediately, if a user tries playing
When creating new playlist loader, dispose previous one, if exists
Don't downswitch initial selection
move comment
Actually don't downswitch
Fixup and add test for switching
set high bandwidth so we don't switch
we want to switch if bandwidth is undefined
use Math.floor not parseInt