Simplify HcPkg.register interface
Remove the variants reregister and registerMultiInstance and generalise the main register variant to cover them all. Introduce a RegisterOptions record for the variations. Eliminate an unused form where we supply a file rather than an InstalledPackageInfo value. The motivation is so we can more easily add yet more variations shortly. This is an API change.
Showing with 81 additions and 92 deletions