fix hazard export
fix hg when some rupture does not produce shaking
use more meaningful iteration variable name
improved variable naming and docs
massaging code
Merge branch 'master' of https://github.com/gem/oq-engine into fix-1144388
massaging codebase
Merge pull request #1074 from matley/fix-1144388

Fix 1144388