Made the distcheck target work, and added the xalloc module to the
package.

Changed all occurances of `malloc' to `xmalloc' and `strdup' to
`xstrdup'.