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-nio to :libs:nio.