Update event based mean/quantile loss curve computation

Addresses https://bugs.launchpad.net/oq-engine/+bug/1168454

Requires https://github.com/gem/oq-risklib/pull/52/