hls: Support for seeking on event playlists (backport)

This allows clients to seek between first played segment
and the last one in the live stream playlist with
#EXT-X-PLAYLIST-TYPE:EVENT attribute.

Backported from #50