input/source:

Refactored `nrml_to_hazardlib` to separate more cleanly conversion of sources
and ruptures.

Source conversion now catches conversion errors and raises a new exception
with the source id and name include, to help the user with debugging.
tests/input/source_test:

Added a test to exercise the case where `nrml_to_hazardlib` raises an error
and reports the src id and name.
Added two docstrings
Removed helpers.run_job_sp in the export tests
Added two more tests to the PGImporter
Implemented the idea of booking in advance the required ids
In run_hazard_job you can now specify if you want to distribute the computation or not
Merge pull request #1128 from larsbutler/useful-source-model-err-msg

Source model NRML to hazardlib conversion now throws useful error messages

[r=matley] [f=1154512]
Merge pull request #1129 from gem/1167310

Add a mechanism to populate the db from CSV files, without the need to run a fake calculation
Merge branch 'master' of github.com:gem/oq-engine into 1167310-fix-tests