added calculation of energy spectrum background to spectrum.cpp corresponding changes in global.h,modules.h and setup.cpp
new function in spectrum.cpp to read in spectrm dark calibration file. call to function added to setup.cpp with corresponding chanes in cheetahGlobal.h and cheetahmodules.h
fixes to input tags for espectrum in setup.cpp, tidying in spectrum.cpp
fix spelling errors and integer / new line warning in setup.cpp and spectrum.cpp
added calibration to energy scale of the integrated run spectrum based on the averagephotoneV global variable
energy scale is written to integratedrunspectrum hdf5 file
added variable for energy range of spectrometer to cheetahglobal.h
corresponding changes in saveframe.cpp setup.cpp cheetahmodules.h
fixes to spectrum.cpp so that energy scale is correctly calculated
tidied up indenting in spectrum, global, setup, libcheetah, saveFrame
modified setup.cpp and saveframe.cpp so that a calibrated energy scale from
a specified file is added to the event HDF5 files. new hdf5 function to read
the energy scale added to spectrum.cpp
Merge branch 'rbean/spectrumbasic' of ssh://git.bitwiz.org.uk/cheetah