OWSMetadataProvider usage in WMSController

The OWSMetadataProvider is being consulted when performing a GetCapabilities request on the WMS. Currently it is not using the result in the output of the pending request but it is storing it for later use (i.e. the next GetCapabilities requests) instead. This causes the information in the capabilities to be obsolete (and missing for the first request).