Scenario damage tests

This closes the porting of the scenario_damage calculator: https://bugs.launchpad.net/oq-engine/+bug/1389260
The tests are green: https://ci.openquake.org/job/zdevel_oq-risklib/126
Please add a comment about the meaning of dda