Added a script to dump the hazard outputs needed for the risk

The usage is:

$ python dump_hazards.py <hazard-calculation-id>

It will generate a zip file with all the relevant hazard outputs.
Inside the zip file there is a script restore.sh with the commands needed to restore the
data in a new database.