bugfix: cannot send long lists to iraf!
Merge branch 'master' of https://github.com/ishivvers/TheKastShiv

Just a merge on the drifter.
now averages coadded filename observation times properly (in the filename)
I think apfile references are now being handled properly, and the behaviour when using an a red extraction to reference a blue is now correct
Added function to extract that lets you use a reference just to define the trace, but not the aperture; also added ability to choose what line number to use
checked in dev file for logchecking script