Set inherited values when parsing a GetCapabilities

During the parsing of WMS GetCapabilities, inherited values from parent layer was never set to the child.