o Listing of outputs should go to stdout.
o Be a bit more helpful in case there is an error: output as well
  the gstreamer debug message.
o Work around bug in foobar2000 plugin UPnP MediaRenderer Output 1.0 beta 4
  For some reason, it expects the service ID to be the same as the transport
  type.
Document workaround Foobar2000 bug; add
  #define WORKAROUND_FOOBAR2000_EXPECTS_SERVICEID_IS_SERVICE_TYPE_XML_BUG
with documentation and current analysis:

It looks like Foobar2000 (http://www.foobar2000.org) has a problem with
the XML generated in the service list. This affects the follwing foobar2000
plugins:
  - UPnP MediaRenderer Output 1.0 beta 4
       -> it says 'XML error' on connecting
  - UPnP/DLNA Renderer, Server, Control Point 0.99.46
       -> it sends over the URI, but then refuses to play.

This happens in the device service-list if the <serviceId/> is _not_
the same as <serviceType/>.

So this works
<service>
 <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>
 <serviceId>urn:schemas-upnp-org:service:AVTransport:1</serviceId>
 ...
</service>

.. but with serviceId different from serviceType:
<service>
 <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>
 <serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>
 ...
</service>
does _not_ work (in fact, the serviceId string should _not_ matter at all).

My assumption is, that somewhere in the connecting to the renderer, someone
messes up the value of serviceType with serviceId. Also striking is, that
this affects both plug-ins, that are apparently written by different people.
So maybe this is in a common library they are using ?

Anyway, this enables a work-around by setting the service-ID to the same
as transport type. Going to file a bug with the maintainers of the plugins
to get to the ground of that bug.
o export modelNumber.
o remove superfluous condition.
o smallish comment updates.
o better log output on UpnpInit() error.
o Some early returns increase readability.
Merge pull request #21 from Guzoft/master

Removed gotos from output.c
Merge branch 'master' of github.com:hzeller/gmrender-resurrect
o Make traversal of linked list a bit more readable.
Removed gotos upnp_connmgr.c
Merge branch 'ungoto_upnp_connmgr'

Removing gotos from upnp_connmgr.c