Implement the charm-related API.

Also move MgoTestPackage suite registration out from api_test to its
own package_test.go.
Nice separation, makes api_tests.go cleaner. Thanks.