Make the base PackageLoader write extrinsic revision metadata.
For now, no loader outside the tests use it; but DepositLoader will soon.