Add support of fragmented TTML (stpp) and support of SMPTE-TT image in full TTML mode or fragmented TTML
Created by: aleal-envivio
Attached commits : ->add the support of subtitles in fragemented mode. ->add the support of images embedded in SMPTE-TT (in fragmented mode or full TTML mode)
For fragmented mode, we added a new media type "fragementedText" to prevent pollution of text media type. Text media fragments cannot be handle directly by original source buffer (no player support), so we reused the text source buffer. We managed buffering time range thanks to "customTimeRanges" class because timeRanges is a native class that cannot be instantiated.
For image subtitle, an html image overlay is used to display subtitles. This image is extacted from "smpte:backgroundImage" marker (No support images in mpeg4 sub samples references by urn).
At last, on current developpement branch, "currentItem.styles" is undefined when TTML parser is called, so I added a check to prevent an exception.