Convert iris.analysis.SUM to a weighted aggregator.

This PR converts `iris.analysis.SUM` to a weighted aggregator. The implementation is designed to be consistent with the only existing built-in weighted aggregator which is `iris.analysis.MEAN`.