Re #8432. Removed using namespace from the header file.
Re #8432. Moved implementation from header to source.
Re #8432. Reworked the unit test to use standard techniques.
Refs #8432. Using SaveIsawDetCal from SCDCalibratePanel.
Re #8432. Fixed up whitespace.
Re #8432. Fairly heavy-handed code cleanup of SCDPanelErrors.
Re #8432. Cleanup writing out parameter file.
Re #8432. Moved some param checking to the init stage of things.
Re #8432. Changed function for comparing hkl to integer values.

Also got rid of local definition of pi and added cached version of
DEG_TO_RAD and RAD_TO_DEG.
Re #8432. Refactored code to clarify what is going on a bit better.
Re #8342. Clarified some loop variable names.
Re #8432. Exchanged function string into a function pointer.
Re #8432. Converted ties to the function pointer.
Re #8432. Moved constraints to use a factory.
Re #8432. Grouping parameters together to guide the user.
Re #8432. Changed function attribute names to be string constants.
Re #8432. Renamed member variable to follow coding conventions.
Re #8432. Changed from push_back to assign.
Re #8432. Change how the peaks workspace is generated and stored.
Re #8432. Renaming instance variables.