SCUBA2: pass on VERBOSE parameter to other primitives
SCUBA2: make sure FCFs agree with accepted paper

The 850 um BEAM FCF did not get updated at the end of the last round
of analysis. Now that the calibration paper is accepted, it would seem
appropriate to make sure the pipeline uses the official value.
PrimitiveParser: allow single quotes in task name.

Previously it was printing out "Unknown" as the task name.
SCUBA2: set rsp with files instead of file.

Otherwise the display didn't appear (presumably when there was
more than one scan in the frame).
SCUBA2: moved FTS-2 band boundaries to HELLO.

This makes them available to all primitives from a single place.
SCUBA2: restore current Frame to original state before proceeding

It was noticed that the data points derived from the final two SMU
positions were identical. This was tracked down to the fact that the
subgroup for the final SMU position cointained Frm, which had been
used multiple times to store the files at each SMU position. When it
came to the final SMU position, Frm now contained the file stored by
the previous position rather than the file for the current SMU
position. This is easily solved by restore Frm to its original state
before processing the next SMU position with a tagretrieve call.
SCUBA2: continue with FCF calculation even if source not detected

The FCF calculations only proceed if the source is detected (via a
gaussian fit) in the signal map. However, it is possible that the
source is still detectable via aperture photometry (albeit at low
signal-to-noise) and after the application of a matched
filter. Therefore, the pipeline should proceed with estimating those
FCFs even if the source could not be detected in the signal map.

Furthermore, the quoted FCFs are colour coded based on how close they
are to the standard FCF. If the values are within 5/10% (at 850/450
respectively), the values are green; yellow if within twice that spec,
and red if beyond that.
SCUBA2: put message before calibration step, rather than after

And remove all vestigial traces of reference to BEAMEQUIV.
SCUBA2: change format of fcf log file, make it optional

The FCF log file now contains the FCFs and their respective errors on
the same line, and the derived effective FWHM if it could be
calculated. Undefined values are stored as NaN.

A new parameter called LOGFILE has been added which is a flag to
indicate whether or not the FCF log file should be written. Default is
to write the file, which is required by the pipeline.
SCUBA2: background removal is no longer necessary

Maps are much flatter than they used to be and so estimating fcfs from
pointing observations is much more reliable. Similarly for focus
observations, there is no need to remove a background as the maps are
flat.
PICARD: add REMOVE_BACKGROUND recipe parameter

The REMOVE_BACKGROUND recipe parameter controls whether or not
background removal is carried out on a given image. Default is 0: do
not carry out background removal.

A new argument called USEPAR has been added to
_SCUBA2_REMOVE_BACKGROUND_ which dictates whether or not the recipe
parameter should be used to determine background removal. Default is 0
- ignore the recipe parameter.
SCUBA2: add REMOVE_BACKGROUND recipe parameter to the pipeline

Background removal is now turned off by default when calcualting FCFs,
but add the ability to turn it on with a recipe parameter.
PICARD: recipe removed due to updates in SCUBA2_FCFNEFD

The pending updates to SCUBA2_FCFNEFD (including its rename) mean that
SCUBA2_ANALYSIS is no longer needed as all its functionality will be
included in the former.
SCUBA2: remove AUTOPHOTOM argument

The integrated flux is now always calculated using aperture photometry
with autophotom so there is no need to have a parameter which suggests
there may be a choice.
PICARD: mark Frame as good to proceed with rest of recipe

If no FCFs were derived, the Frame is marked as bad by the
pipeline. This excludes the data from some further analysis which uses
SCUBA2 primitives. This is fine for the SCUBA2 pipeline which may have
good reasons for excluding those data from further processing, but in
PICARD-land we want to continue with our analysis.
PICARD: update POD with primitives used
SCUBA2: update user message when running makemap

Previously the user was warned that things may take a very long time
if the number of files exceeded 16. The trouble is that then the user
gets that message if they're processing 17 files or 280, which isn't
very helpful. Now the message is displayed if the number of files
exceeds 64, and emphasized if more than 128.
PICARD: add PICARD uhdr so primitives know this is a PICARD recipe
SCUBA2: append suffix if called from PICARD

The standard pipeline approach to naming output files, whereby a new
suffix replaces the current one, is less desireable in PICARD where
preservation of the suffices makes the history unambiguous. Add a
check for the PICARD uhdr and, if present, simply append the suffix to
the current file name.
SCUBA2: KEEP_NEFD changed to WRITE_NEFD

WRITE_NEFD seems like a better name for this parameter as it implies
the NEFD image is written out somewhere.