(Frodo) Revamped the memory management to get in line with util-linux-2.26. Added an xalloc.h with the memory functions.