Merge pull request #79 from ToadKing/master

Fix named pipes on Windows 64-bit
plugins.ongamenet: Use new URL to find streams.
stream.StreamProcessIO: Work around sh behaviour.

sh will give us a unicode object instead of bytes
if it's able to decode the bytes to unicode, so
we must convert it back to bytes.
Sync packages.flashmedia with upstream.
utils.RingBuffer: Add resize method.
logger: Add a thread lock.
Add support for Adobe HDS.
plugins.stream: Add hds:// protocol support.
plugin.svtplay: Add support for HDS streams.
plugins.gomtv: Major refactoring.

Now supports both the new HDS streams and the legacy HTTP streams.
stream.hds: Fix nasty memory usage on Python 2.

On Python 2 range can cause huge memory usage on
large ranges, so let's use xrange instead.

Thanks to athoik for investigating the bug.
plugins.justintv: Cut query params in the SWF URL.

RTMPDump has problems fetching the SWF when
it contains query params for some reason.
cli: Attempt to use OS specific VLC paths.
cli: Add quotes to Windows VLC path.
Split LICENSE file.
Remove sh dependancy and embed pbs instead.

sh is a nice library but it's overly complicated for
livestreamer's needs. Using a slimmer subprocess wrapper like
pbs makes more sense. But since it's no longer developed we
will embed it instead of using it as a pypi dependancy.
Update README.
stream: Add StreamIOThreadWrapper class.

This class makes it possible to gain control
over read-timeout on a file-object that usually
blocks forever.
stream.hds: Improve compatibility.

- Handle href attribute on media in manifests
- Better segment handling
plugins.gomtv: Add support for new live page.