Added purging of gmf and gmf_set after population of gmf_agg
Removed the obsolete table gmf_data
Fixed a few tests depending on gmf_data
Merge branch 'export-gmf_agg' of github.com:gem/oq-engine into purge-gmf-tables
Merged from master
Merge branch 'export-gmf_agg' into purge-gmf-tables
Removed the dependency on gmf_set from the risk calculator
Fixed indentation
Merge branch 'export-gmf_agg' into purge-gmf-tables
Merge branch 'export-gmf_agg' into purge-gmf-tables
Fixed risk_test.py:EventBasedExportTestCase
Merge branch 'master' of github.com:gem/oq-engine into purge-gmf-tables
Merged from master
Changed the post-processing to insert/delete into gmf_agg by ses_id
Fixed the risk qa tests
Removed some duplication in the qa_tests/risk/event_based
Fixed a bug in the retrieving of the correct SESs
Fixed all the tests except the export
Removed a print
Fixed the export test