The X-Pack opening and the recent other refactorings left a lot of unused imports in the codebase. This commit removes them all.
This commit renames :libs:elasticsearch-core to :libs:core.