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

Also add EnsureID to ElasticSearch.
Good catch.  Odd that it worked.