Add CMakeLists.txt
Remove Makefile (use cmake generated makefile instead)
Add a small LD_PRELOAD library that redirects mq_open() calls

Usage:

  make && LD_PRELOAD=./libfakemqueue.so ./server