Refactoring: remove curve module

Some work in preparation for https://bugs.launchpad.net/oq-engine/+bug/1174231

As this will introduce an API breakage, a companion pull request on oq-engine is upcoming and a separate issue on launchpad (https://bugs.launchpad.net/oq-risklib/+bug/1174301) have just been filed.