process packages

package XML files are now processed.
TODO: link program to packages
missing import corrected for '--storeto' option
started linking programs and packages.

- Xinclude directives now processed
- TODO: work out the conflict between
SchemaDocument and use_autorefs.
- TODO: create package if it does not
exist yet.