updated to the latest risklib api

Changes required by https://github.com/gem/oq-risklib/pull/35

It also fixes a bug related to the insured losses. They were calculated but not saved. Instead the asset loss curves were saved instead of them.