webgis: fixed legend items order and duplicit FORMAT parameter in GetLegendGraphic requests (closes #93, closes #116)