bunch of modifications

- add pool.h and test_pool.c for experimental thread pool
- slight modification of debug output
- rename patmatch to match and update makefile
- define uint64_t and others in config.h