hash.c: use xalloc
Adding utils.c.
dlhist.c: use file_cmp from utils.h instead of static path_cmp.
Adding version.c
Adding additional command line flags for help and version.
Adding version generation script for Makefile.