UPnP: improved metadata

The first commit is actually a fix as the UPnP specification says that dates have to be provided in W3C format and not in our internal DB format.

The other commits are general improvements by serializing/deserializing additional information. The fourth and sixth commit just add support for deserialization of information we already serialize.