WMC format: Server can have multiple OnlineResource

With this patch, the WMC format is able to serialize and deserialize contexts in which a layer can have multiple server urls.

Tests pass, please review.