Support for non-parametric sources

Companion pull request to https://github.com/gem/oq-hazardlib/pull/142. See https://bugs.launchpad.net/oq-engine/+bug/1252761 for a discussion.