Small refactoring of the FragilityFunctions so that it is easier to instantiate them from the FragilityModelParser in nrml

https://bugs.launchpad.net/openquake/+bug/1100235