Fix up the correct dependencies.

upnp uses two things we did not know about in rebar.config

One it uses ranch. Two, we need to fix the version of cowboy to an old version for
now until we can bump it.

The problem is due to cowboy being old as well. This requires some coordinated planning.