More precise error reporting when installing from a URL.
Need to remove the Package object from the Packages object as well.
Factorized out the management of packages.xml and packages.txt in their own classes.