Refactor RaftJournal to user Mark instead of index

This is a refactor needed as a first step for log compaction