Added a validation is_valid_hazard_curves

This solves the problem of Sevgi: hazard_curves_from_gmfs must be set if mean_hazard_curves or  quantile_hazard_curves are set.