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

See https://bugs.launchpad.net/openquake/+bug/1156998 for the usage