[ted] support for subtitles

Support for subtitle download in the TED extractor.
Notice that I had to do a slight change in the subtitle support in other extractors to make it play nice with videos who have the subtitle information in the webpage (as is the case of TED).