Rename ElasticSearchConstants to DatabaseConstants.
This is being handled in a separate PR because it touches too many files and would obscure other "real changes". Therefore exclusive PR.
Testing notes
No testing necessary, this is just a pure renaming