migratebundle: new package

This is the start of the code to migrate old-style
bundles to new-style bundles.
Maybe test with adding another bundle besides base?