Insured loss curves statistics

Addresses https://bugs.launchpad.net/oq-risklib/+bug/1224558

Companion of https://github.com/gem/oq-risklib/pull/62