Make test fixtures optional

Addresses https://bugs.launchpad.net/oq-engine/+bug/1230100

Jenkins build: http://ci.openquake.org/job/zdevel_oq-engine/134/

This pull request also includes some preliminary work needed to make the risk peb qa test faster.