Merge pull request #817 from VoltDB/ENG-4625-change-catalog

[release-3.7] Eng 4625 change catalog
Add support for synchronise the plan for AdHoc and stored procedure. It's a limit and offset problem
Remove useless order by for unique row result
Fix the adHoc planner problem
Fix the failed test cases
Fix the test cases and pass in my AdHoc flag to planner
Minor cleanup for code review
txnid2: add mpratio workload mix option
Merge pull request #826 from VoltDB/ENG-5241-remove-orderby

Eng 5241 remove orderby
Remove isAdHoc flag according to Paul's suggestion
Add test to prove our old bug goes away now
Fix the typo
Fix the comment message
remove the changes to m_estimatedProcessedTupleCount
Add more test cases to make sure that we did not corrupt the index.
Merge pull request #827 from VoltDB/ENG-5156-timebox-plan-differs

Eng 5156 timebox plan differs
Merge pull request #835 from VoltDB/ENG-4146-test-case

Eng 4146 test case
csvbenchmark: add a check of actual table row count and compare to expected