Various improvements on risklite, addressing points raised in https://github.com/gem/oq-risklib/pull/42