Added a check of consistency of the risk models
Fixed readinput_test.py
Fixed the scenario_damage calculator
Added export of the collapse map
Merged from master
Some changes to the damage exporters; added expected files for scenario_damage/case_4
Changed general.groupby to return an OrderedDict
Implemented a DamageWriter class
Renamed the dmg keys to be consistent with the engine
Code cleanup
Fixed ordering on the Site objects
Refactored the scenario_damage QA tests
Small fix
Merged
Committed scenario_damage_test.py
Added is_valid_inputs
Removed a duplicated line
Merge branch 'master' into scenario_damage_tests
Added docstrings per the DamageWriter class
I move the qa_tests of risklib inside risklib