Initial work on the classical_damage calculator

Implemented the basic scientific routine. This is a first step towards https://bugs.launchpad.net/oq-engine/+bug/1389161. The tests are green: https://ci.openquake.org/job/zdevel_oq-risklib/149