Re-constructed ignore.c.
All functions now resides in client_support.c and client_support.h.
Also included test.c and Makefile for compiling and testing.