Fixed mistake in the calculation of the midpoint of a log scale (it's the sqrt of the difference of the log of the endpoints, not the sqrt of the difference of the end points)
Refactored BCCAQ Extremes page to not use hard coded color scales and to reset the full WMS parameter set every request (so that params from past requests that are no longer applicable get removed)
Changed the default years on the Climdex page to be in this century and not the beginning of the timeseries
Moved the map title update out of the layer change handler and registered it as a separate handler
Set the precipitation range to always start with 1 and end at the dataset's maximum (from the colorbar)
Final wiring of Climdex event handlers to update colorbar on layer change which triggers a map update on success.
Fixed bug for precip scale range where min > 1
Fix tab->space indentation
Adjust layer change event chain to remove dependency on colorbar
Quickfix: colorbar can only be updated after ncwms params changed
Add evented layer changing to prism map