Classical risk

Companion of https://github.com/gem/oq-risklib/pull/109, see https://bugs.launchpad.net/oq-engine/+bug/1403945. The tests are running here: https://ci.openquake.org/job/zdevel_oq-engine/942