Refactored hazard_curves_to_hazard_map
More refactoring and solved the bug https://bugs.launchpad.net/oq-engine/+bug/1362649
Improved readability
Restored the UHS generation removed by accident
Merge branch 'master' into uhs
Changed LogicTreeCase2ClassicalPSHA to not save the individual curves
Fixed an import in
Moved the post_processing test
Fixed openquake/engine/tests/calculators/hazard/post_processing_test.py
Fixed a small bug where quantiles are not specified
Addressed small concerns raised in https://github.com/gem/oq-engine/pull/1520
Merge pull request #1520 from gem/uhs

Solved the problem with UHS