Some new routines; small updates to DEM, spectra, and image routines

Commit for essentially all the work in January.
Some small fixes to processing routines to be able to handle further calibration data.
Small changes to regular analysis routines in spec/ and img/
Added "detector image" routine to produce an image in detector coordinates.
Added a keyword to DEM routine to use FOXSI2 response.