Correct handling of 0 and Infinity Min/MaxScaleDenominator

Same correction as https://github.com/openlayers/openlayers/pull/760, but for WMS 1.3.0 instead of WMS 1.1.1