migratebundle: new package

This is the start of the code to migrate old-style
bundles to new-style bundles.
migratebundle: fix comment
migratebundle: rename oldBundle to legacyBundle
migratebundle: use Replacer instead of Map in test code
Merge pull request #54 from rogpeppe/019-migratebundle

migratebundle: new package