Scenario hazard correlation model

Addresses a bug in distribution logic, allows to use the correlation model option with related parameters (new tests have been implemented but for now are marked as skipped).

See https://bugs.launchpad.net/openquake/+bug/1097646