Checkpointing work.  Refs #6863.

1. Moved some status flags to interface class IPowderDiffPeakFunction.
2. Fixed some error