- removed query functions, which do not belong to the installation
library anyway, and which will have to be redone for layouts,
- replaced functions "package-installation-dir" and
"package-installation-staging-dir" by "get-directory",
- changed "install-file" & friends for layouts,
- added "install-directory-contents",
- rewrote option parsing code,
- slightly adapted David Frese's code.