Fixed the GmfAgg implementation to make the unit tests run
Restored the query on Gmf in gmf_to_hazard_curve_task
Fixed a very subtle initialization bug breaking risk/event_based/core_test.py
Fixed the event_based QA tests