fix getting metadata for loss curves computed by event based on a single realization when computing on multiple realizations
fix computation of mean/quantile loss curves
Merge branch 'master' of https://github.com/gem/oq-engine into update-event-based
merge commit, fix problem in validation
fix assert statement
Merge pull request #1140 from matley/update-event-based

Fix Event based mean loss curve computation