internal/charmstore: add Store.AddCharm method

This is just a stop-gap measure so that tests can add charms to
the database and implement endpoints before charm archive
upload is implemented.

A comment stating you're using the map to remove duplicates would be helpful to first-time readers.