webgis: fixed bug in parsing composer templates from GetCapabilities XML document