Fixed ordering bug in the XML export of gmf_scenario
Companion changes to https://github.com/gem/oq-risklib/pull/38
Removed a useless order_by_location since later on there is a order by gmv
Merge pull request #1076 from gem/fragility_model

Companion changes to https://github.com/gem/oq-risklib/pull/38
Added a missing KILOMETERS_TO_METERS convertion in the hazard_getters
Merge pull request #1079 from gem/fix_km_to_meters

Added a missing KILOMETERS_TO_METERS convertion in the hazard_getters
Fixed a test
Merge branch 'fix_km_to_meters'
Merge pull request #1073 from gem/fix-gmf-scenario-xml

Fixed ordering bug in the XML export of gmf_scenario
Merge branch 'master' of https://github.com/gem/oq-engine into fix-1149270
added a proper test for sd-imt