CMS-4109 Prepare moving elasticsearch into own module.