lppublish: migrate bundles from legacy format

It doesn't provide the bundle's charms for the migration process yet,
as we need charm archive PUT for the charm revisions to work
correctly with respect to the charm URLs mentioned in the bundles.

Manually verified that at least some bundles get correctly imported.
Quite possibly. It's never going to look great though. Will reserve for a subsequent PR.