Fixes for CPP-169 and CPP-171
Code review tweaks

- cstring header in common.hpp for build on Ubuntu
- fix order of varargs in a couple of io_worker debug statements
Merge branch 'CPP-169' into beta5