migratebundle: relation inference
migratebundle: factor relation filtering into its own function
migratebundle: adjust comments
Merge pull request #59 from rogpeppe/022-migrate-bundle-3

migratebundle: relation inference