calcs/hazard/general:

Work in progress on refactoring hazard curve finalization.
db/schema/functions.sql:

Work in progress on a stored procedure to move hazard curves from htemp to a
permanent location in hzrdr.
Simplified the hazard getters so that they are pickleable by default
db/fields:

Added `NumpyListField` field type.
db/models:

HazardCurveProgress.result_matrix is now a NumpyListField.
tests/db/fields_test:

Added tests for NumpyListField.
db/models:

HazardCurveProgress.result_matrix field gets a default value of `None` so that
there are no spurious exceptions if a HazardCurveProgress object is created
with default field values.
db/schema/functions:

Cleaned up the `finalize_hazard_curves` function and change the implementation
slightly. It works now. =)
calcs/hazard/general:

Refactored `finalize_hazard_curves` to use a DB function to handle the
extraction of hazard curve data and insertion of `hazard_curve_data` records.
db/schema/functions.sql:

Renamed a util function in the `finalize_hazard_curves` SP.
db/schema/functions.sql:

Removed a redundant query. This was leftover from the stored function
prototype I wrote and is no longer used.
calcs/hazard/general:

Cleaned up site geometry input to `finalize_hazard_curves` DB func.
db/schema/functions.sql:

Added some better doc to `hzrdr.finalize_hazard_curves`.
db/fields:

Removed an empty comment line.
Merge branch 'master' into risklib-refactor-no-asset
qa_tests/hazard/classical/case_1:

Expanded case 1 to calculate for an SA(0.1) IMT.
upgrade added after apt-get update to reduce risks of ubuntu inconsistencies
Merge pull request #1043 from matley/scenario-aggregation

Scenario Aggregated Loss
Merge branch 'master' of https://github.com/gem/oq-engine into risklib-refactor-no-asset
Merge pull request #1049 from matley/risklib-refactor-no-asset

updates due to the latest risklib api changes