CMS-4076 Move classes with ES-dependencies

Moved last classes with es-dependencies to elasticsearch package.