Standard deviation of losses in risk event based calculator

This pull request addresses https://bugs.launchpad.net/oq-engine/+bug/1216867