added statistical loss map
merge commit
fix docstring
Merge pull request #1106 from matley/statistical-loss-maps

Mean and quantile Loss map support
calcs/risk:

s/parse_vulnerability_model/get_vulnerability_model/
calcs/risk/general:

Added some more validation checks to `parse_vulnerability_model`.
tests/calcs/risk/general_test:

Directly test a few invalid vulnerability model cases.
tests/data/end-to-end-hazard-risk/vulnerability_model.xml:

Fixed CoV values so that this demo doesn't crash.
calcs/risk/general:

Added a check to `parse_vulnerability_model` to display a useful error if a
vuln model specifies an IMT which is incompatible with the specified
`--hazard-output-id`.
tests/calcs/risk/general_test:

Added a test to exercise the incompatible IMTs validation check (between
hazard curves, specified as a `--hazard-output-id` and the IMTs in a vuln
model).
calcs/risk/general:

Fixed some indentation.
tests/calcs/risk/general_test:

Fixed up the `ParseVulnerabilityModelTestCase` tests to check for specific
error messages, since there many places in the function under test which
can throw the same type of exception.
calcs/risk/general:

Catch and re-raise a validation exception from RiskLib.
tests/calcs/risk/general_test:

Corrected the expected exception message in a vulnerability function
validation test.