internal/charmstore: remove entity if ES insert fails
Merge pull request #199 from rogpeppe/085-fix-add-entity

internal/charmstore: remove entity if ES insert fails