Added a view on the event loss table for convenience of analysis

See https://bugs.launchpad.net/oq-engine/+bug/1338446. While I was at that, I added a missing DELETE CASCADE which was breaking the "delete hazard calculation" feature.