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.

Since 'int' overrides the 'int' type name it is a bit confusing. Spelling it out as 'interface' will be more readable.