[TEST] Restore test logging level after test is done
Core: also log byte size and doc count when we log slow merges

Closes #8855

Closes #8853
Use Lucene version string in main rest action

This commit removes the deprecated constant for the main
version and uses the real lucene version we are running instead.
Behind the scenes the same value was used and is now obsolet.