Hazard viewer

This PR is the first stable step in addressing the features requested in this bug: https://bugs.launchpad.net/oq-platform/+bug/1267145