Add palvers() function

This reports the version information of the underlying PAL C
library.

Parses the configure.ac and, since we are already rewriting the
source code, we insert the version info at the same time.