Removed conversion from youtube closed caption format to srt since youtube api supports the 'srt' format
Added new option '--only-srt' to download only the subtitles of a video
Improved option '--srt-lang'
 - it shows the argument in case of missing subtitles
 - added language suffix for non-english languages (e.g. video.it.srt)
Use red color when printing error messages
Use report_error in FileDownloader.py
Use report_error in InfoExtractors.py

Some calls haven't been changed
More trouble calls changed in InfoExtractors.py

The calls with the message starting with 'WARNING' have been changed to report_warning instead of report_error
Spiegel: Support hash at end of URL
Added new option '--all-srt' to download all the subtitles of a video.
Only works in youtube for the moment.
Refactor subtitle options from srt to the more generic 'sub'.
In order to be more consistent with different subtitle formats.
From:
* --write-srt to --write-sub
* --only-srt to --only-sub
* --all-srt to --all-subs
* --srt-lang to --sub-lang'

Refactored also all the mentions of srt for sub in all the source code.
Added new option '--sub-format' to choose the format of the subtitles to downloade (defaut=srt)
Added new option '--list-subs' to show the available subtitle languages
Fixed typo in error message when no subtitles were available.
add '--write-srt' and '--srt-lang' aliases for backwards compatibility
Merge pull request #699 by @iemejia

Removed innecesary function to convert subtitles, improved use of the youtube api
fix KeekIE
Use sys.stdout.buffer instead of sys.stdout

sys.stdout defaults to text mode, we need to use the underlying buffer
instead when writing binary data.

Signed-off-by: Chirantan Ekbote <chirantan.ekbote@gmail.com>
Merge pull request #762 from jynnantonix/master

Use sys.stdout.buffer when writing to standard out
use sys.stdout.buffer only on Python3
Merge branch 'master' of github.com:rg3/youtube-dl
Add a note on MaxDownloadsReached (#732, thanks to CBGoodBuddy)