updated tests
updated event_based and hazard getters
Merge pull request #992 from matley/vulnerability_function_refactoring

Update risk calculators according to the new risklib module structure