Small changes to the scenario_damage writers so that they work with the data coming from the openquake db

The model has changed (in particular the collapse map table has been removed and the data now come from the dmg_dist_per_asset table) so a few changes in nrml were needed.

https://bugs.launchpad.net/openquake/+bug/1100371