For ENG-6530, DR buffer should not have a tail, open transactions will be
moved to a new buffer.
For ENG-6530, refactor code to avoid redundancy. Discard empty buffers
after moving tail to new buffer. Modify testcase to adapt the new logic.
Merge pull request #1627 from VoltDB/ENG-6530-new

Eng 6530 new