charm: add ReadCharmArchiveFromReader and ReadBundleArchiveFromReader

These are needed for reading charms directly from mongo.
Also add a missing ReadBundleArchiveBytes test.