hls: automatically detect baseurl
justin: refactoring

Break out logic for video and channel fetching to functions and introduce a
JustinUrlException class, that represents faulty URLs.
justin: Add HLS support