Add PACKAGE_SOURCE definition that gives the directory where the configure script is run. This directory will be used in unit testing for building absolute path names.
Use absolute path names in XML files.

The absolute path names are necessary to correctly use the valgrind rule in the test/Makefile. This all is needed to support Sonar, which need valgrind and sonar-runner running from the same directory, which is here the source directory.