When adding charms or bundles to mongo, index in ES if configured.

Also add EnsureID to ElasticSearch.
We could log the error but what do we return? Can't really return success if ES failed.
Let's continue returning the error but know this may be a place for improvement.