genDefectRegistry: support multiple versions of same CCD defects

Multiple versions of the same CCD defects were thrown in the
database with the same end date (way in the future), so that
the query to find the defect ended up with multiple rows.
Instead, have one defect valid until the next, and only the
last is valid into the future.
add defect files to flag another bad amp in CCD 9 starting semester 14B

CCD 9 has lost another amplifier (now 2 out of 4).  This update
will allow us to process S14A and S14B data without hacking the
mapper etc.
Merge branch 'tickets/HSC-1008' (Mask CCD 9 amp 4)
config: disable all HSM measurements except for regauss

The others aren't as well trusted, so it's just a waste of time.
config: have HSM only work on unblended sources
isr: calculate overscan median with bad pixels removed

The bad pixels (e.g., saturation) will otherwise bias the
median; this can be severe when there's a bright source
close to the edge of the amp.
Update fitsthumb call to use new API.

A recent update in fitsthumb changed the API.  The format is no longer
provided and I've removed it completely as the butler uses png.  To
do otherwise would mean the '_filename' returned by a butler.get()
would be incorrect.  Also, createFitsThumb() now takes an ndarray.
Merge branch 'u/bick/HSC-1036'
crosstalk: don't use use saturated amps

Amps that are completely saturated do not provide any useful
information for the crosstalk correction, and using them taints
the good amps (NANs or mask).  This shouldn't affect the result,
as the image is completely saturated and there's not much information
there to use in the correction.
Merge branch 'tickets/HSC-1016'
Merge branch 'tickets/HSC-1027'
Correct background binSize to use 128 pixel default. (HSC-145)
adapt to removal of CalibrateTask from ProcessImageTask in pipe_tasks
Add code to build validPolygon for each image.

The settings for the vignetted region was broken out into a
separate config file to be used in different places in the code.
Merge branch 'tickets/HSC-976'
config: use enable.py in meas_extensions_shapeHSM
Merge branch 'tickets/HSC-983'
add datasets to support multi-band processing

In addition to new source catalogs, also includes config, metadata and
schema entries for the new CmdLineTasks.
config: set priorityList for det and meas merges
Merge branch 'tickets/HSC-1060'