Fixed the bug introduced by change the location field from Geometry to Geography
Restored the old "order by" in individual_curves
refactored code to get hazard metadata
Merge branch 'geometry-geography-bug' of https://github.com/gem/oq-engine into refactor-risk-export-test
fixed hazard metadata getting logic
cast geometry to geography in hazard curve getter
fixed hazard metadata in the scenario case
hazard metadata returns a namedtuple
updated risk export test to the latest changes (namedtuple instead of tuple)
moved hazard metadata namedtuple outside
changed convetion for namedtuple names
Merge pull request #1048 from gem/geometry-geography-bug

Fixed the bug introduced by change the location field from Geometry to Geography