Fixed leaks in:
- SGMFastScanConfiguration where the currentEnergyParameters_ were always being leaks (and sometimes multiple times in the life of one object)
- AMScan where fileLoaders were created using the factory methods but never cleaned up
- AMScanParametersDictionary where the keywordDictionary wasn't being cleaned up in either class in this file
- AMDbObject where AMConstDbObjects were being new'd even though there was no object there. Mirrored AMDbObject section for this fix.
- AMGenericScanEditor had the AMDetailedItemDelegate and a QTimer that were being new'd but not cleaned up (they weren't part of the class members, so I added them)
- AMGenericScanEditor also had a leak in the chooseScanDialog (if it was opened)
- AMTagReplacementFunctor was missing a virtual destructor.
Merge pull request #972 from acquaman/Issue971

Pull Request for Issue971: Memory Leaks Related to Opening Scans