Cleanup of LUT code
Renamed CSVOutputModule from CsvOutputModule
Added support for closing devices and output modules.  More work on DB output module.  Code cleanup.
Output modules now specify if they want the register sample function used or not.  More work on DB output module.  Rename ScanRateSampling to Sampling.  General cleanup and small improvements.