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
Merge pull request #63 from olof/topic/twitch-fixes

Add HLS support for Twitch/Justin