migratebundle: new package

This is the start of the code to migrate old-style
bundles to new-style bundles.
Nice, +1.