Sync-up of LCOGT code with current SVN version (calib part):
lcocc: Revert to standard MAG_APER
lcocc/lcosbig: add bad pixel mask rules and index files
lcocc/lcosbig: add catalog(ue) service backups
lcosbig: Change flatindex() method to allow returning of full filenames and
default flats which removes need to copy the flat in LCOSBIG/_DIVIDE_BY_FLAT_
lcocc: Add our own ORAC::Calib::LCOCC based on the updated ORAC::Calib::LCOSBIG
Make the 'histogram' task silent
(cherry picked from commit 41e05d43cf886af668498a5f0e22328d8c32f910)
Sync-up of LCOGT code with current SVN version (classes and recipe part):
lcosbig/lcocc: Switch base filenames, directories and cameras to the ELP telescope (really need to support multiple cameras within LCOSBIG... no idea how yet)
LCOCC/_GET_FILTER_PARAMETERS_: Zeropoints etc for Context Camera
LCOSBIG/_ADD_PIPELINE_VERSION_: New pipeline and data product version
LCOSBIG/_CALCULATE_ZEROPOINT_: Allow a limiting magnitude to be passed (try to speed up LCOCC processing, which is very slow). Only print debug messages if localDEBUG is set. Add traps for various "odd" filters.
LCOSBIG/_CREATE_GRAPHIC_FROM_FILE_: Change sigma scaling limits for better contrast.
LCOSBIG/_DATA_QC_TEST_: Only print debug messages if localDEBUG is set.
LCOSBIG/_DERIVED_PRODUCTS_: Trim down length of used flatfield now we're getting full paths back from Calib system.
			    Fix typo in SATURATE units comments. ELP is now 'OPERATIONAL'
LCOSBIG/_GET_*: Comment cleanups.
LCOSBIG/_IMBOX_STATS_,_IMG_QC_READOUT_TEST_: Check for image readout problems.
LCOSBIG/_MAKE_*_FROM_GROUP_: ELP is now 'OPERATIONAL'(ish)...
LCOSBIG/_MAKE_DARK_FROM_GROUP_: Trap masterdarks which have -ve or too high mean value.
LCOSBIG/_SET_QC_FLAGS_: Change L1ELONG/L1ELNGPA and $elong variables to L1ELLIP/L1ELLIPA (has really been ellipticity not elongation all along)
			Add L1QCVER version string. Add tests for image readout and background problems.
			Only print debug messages if localDEBUG is set.
(cherry picked from commit 2c961cf757f4388aa5b24d2d5feb2bedc5a5cc8c)
lcosbig: Make some debug messages not appear by default.

lcosbig: Make the debug print lines only appear if localDEBUG is set. Change the message for image readout problems into an orac_warn.
(cherry picked from commit f7d77e605f28c3313fe6582551f6e0399b55a3c0)
LCOGT: Update catalog saturation level

Update the saturation level used by SExtractor for producing the catalog used to determine seeing statistics.
(cherry picked from commit 8592df03e94487eb26fbd83c1f92735cc3de1f5a)
LCOGT: Archive old kb76 flat and mask index files.

The kb76 camera at ELP was replaced with kb74 on 20120828.
(cherry picked from commit 37bed661e1cd60580f9096aa2b419896d30b7adc)
LCOGT: New bad pixel masks and index files for kb74.

New bad pixel masks and index files for kb74 which replaced the kb76 camera at ELP on 20120828.
(cherry picked from commit 98c608c3b0789974b5f88f3d2aaeb9494f984d12)
LCOGT: Code changes for new kb74 camera.

ORAC/Calib/LCOSBIG.pm: Change default flatfield and bad pixel masks for kb74.
ORAC/Frame/LCOSBIG.pm: Change to new kb74 basefile name.
ORAC/Inst/SetupEnv.pm: Change datapaths for new kb74 camera.
(cherry picked from commit 245322e6fa1baf72817aa8d5f41874a4c886b922)
LCOGT: Change and archive calib files for kb89->kb80 swap.

The kb89 camera at BPL 0m4-14 was swapped for kb80.
(cherry picked from commit 9fbe937106165863856b5de8fda5358a4a9610a2)
LCOGT: Code changes for kb89->kb80 camera swap.
(cherry picked from commit 346ab27d105ac7875c3b6bddac4e5a6ad7269922)
LCOGT: Add ZP calc and remove all intermediates for ContextCam.

LCOCC/OFFLINE_REDUCTION: Add zeropoint determination (with suitable limit) and remove all intermediate frames for LCOGT ContextCam data.
(cherry picked from commit 6f0bef719cc7bbf7dee290bbe044819dfaf853e1)
LCOGT: Add ability to retrieve library masterbias and darks from calib directories.

Calib/LCOSBIG.pm: New bias() and dark() methods to lookup in index files and fetch from cal directories
Calib/LCOSBIG_0M4.pm: New 0.4m specific calib methods (including above new methods)
ORAC/Inst/Defn.pm: Use new ORAC::Calib::LCOSBIG_0M4 class.
_MAKE_DARK_FROM_GROUP_: Trim down 'calib used' filenames now they can be much longer.
			Whitespace cleanup.
			Put the list of exposure times into a temporary file.
_MAKE_FLAT_FROM_GROUP_: Trim down 'calib used' filenames now they can be much longer.
			Add a cycle number to the end of the flat name if already existing.
			Whitespace cleanup.
_ADD_PIPELINE_VERSION_: Bump to LCOPIPE-V0.2 for these changes.
cal/lco{cc,sbig}: Add index files for library masterbias and darks.
(cherry picked from commit ed630f54d7c77cef1cbe38650deb3a88166ac56e)
LCOGT: Small primitives updates for LCOGT data.

LCOSBIG/_CALCULATE_SEEING_STATS_: Report correct threshold. Move platescale retrieval earlier for future use.
LCOSBIG/_SET_QC_FLAGS_: Use whatever is bigger, 3" or 4 times the platescale for the FWHM threshold.
LCOSBIG/_CREATE_IMAGE_CATALOGUE_: Trap seeing of exactly 0.00, not just less than.
Whitespace tidies.
(cherry picked from commit 6f05b748548f624344ac5b3bc013eca8f5fe7860)
LCOGT: Update to final version of archived kb76 index.flat.
(cherry picked from commit 6b66e5d5ffcc790537bb97e4fc9f14b730c25660)