Add EnsureID to ElasticSearch. When adding charms or bundles to mongo, also index in ES if it is configured.