fixed api shutdown and more hls progress
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser