removed one debug output. Refs #8601.
Cleaned output table workspace. Refs #8601.

1. Both output table workspaces are sorted;
2. Empty lines in output peak position offset table workspace are
removed before output;
3. Codes are refactoed for convenience of modifying.
Refactored the codes. Refs #8601.
Merge branch 'feature/8601_getdetoffsets_more_stat' into develop