calcs/hazard/classical/core, db/models:

Moved `_all_curves_for_imt` into the HazardCurveDataManager.
calcs/hazard/classical/core, db/models:

Moved `queryset_iter` util to `models`.
calcs/hazard/classical/core:

Cleaned up some code and remove an unnecessary check.