Changed ElastciSearch query to more efficient form.

Changes the ElasticSearch query on the Archival Storage page to a more
efficient one.
Changed ElastciSearch query to more efficient form.

Changes the ElasticSearch query on the Archival Storage page to a more
efficient one.
Made dashboard settings files inherit DB config.

refs #5189

Made dashboard settings files inherit DB config from /etc/archivematicaCommon.