Implement the charm-related API.

Also move MgoTestPackage suite registration out from api_test to its
own package_test.go.
The archive size is something we pass for those tests. It's not calculated, we just pass 42.
This test mostly checks that the requested info are present in meta.