Denormalize entity ids in Mongo.

When adding charms or bundles, store their URL parts
in separate fields.
Also implement a simple migration strategy.
One other thing to do with this file is increment the esSettingsVersion number on line 13. Thanks