COMP: Cppcheck for SyncRecord.
PERF: AtlasSummation m_MeanBuilder in initialization list.

Suggested by cppcheck.
STYLE: Reduce writeOutputImage scope in ImageCompareCommand.

Detected by Cppcheck.
Merge pull request #178 from thewtex/cppcheck

Cppcheck warnings