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.
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 pull request #1050 from larsbutler/optimize-haz-curve-insertion

Optimize hazard curve insertion

[r=matley] [f=1100332]