Initial merge into juju repository

This PR is the initial merge of previous work into the juju/jujusvg repository.
Any reason to not use juju/charm/v3? https://github.com/juju/charm/blob/v3/bundledata.go