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

Also add EnsureID to ElasticSearch.
just `return response.StatusCode == http.StatusOK`, nil?