Cleaned up by adding some using statements, changing NULL to nullptr, and
removing unused headers.
Replaced gcc-specific CAS in mq::counted with util::atomic::cas
Added makefile for paper-generation
Updated TODO