Fix thread-arguments-problems.cc for modern compilers.
Add Makefile for documentation (using pandoc).
Add note on std::bind to basic thread docs.