This allows them to be run in Console and adds them to the list of docs that are automatically tested as part of the build. Relates to #18160
This adds an API for force merging lucene segments. The `/_optimize` API is now deprecated and replaced by the `/_forcemerge` API, which has all the same flags and action, just a different name.