Cleanup ugly code.
Cleanup ugly code.

The last commit made Device instances always have dlna_device_classes
and dlna_caps. So we can now remove the ugly code required for the case
they did not exist yet.

coherence-project/Coherence,coherence-project/Coherence