add configure option to explicitely turn on elasticsearch tests

Otherwise make check et al fail on systems that don't have an
ES test environment. Follows the same way this is done for MySQL.
bugfix: typo in queue configuration parameter name
maintain ChangeLog
Merge branch 'v7-stable' into v8-stable
maintain ChangeLog
Merge branch 'v8-stable'
maintain ChangeLog