Denormalize entity ids in Mongo.

When adding charms or bundles, store their URL parts
in separate fields.
Also implement a simple migration strategy.
"found unknown migration %q; running old charm store code on newer charm store database?"

?