Safari/Mac live stream fail fix
Created by: aescarcha
This PR fixes issue #2567 (closed) it adds a check to know if safari dropped any chunk while appending, and fires an event to act accordingly.
It also contains the code from #2575 to avoid conflicts in SourceBufferSink.js, so please check it first.