SERVER-12476: Fix invalid assert() usage and check for non-string msg parameters (WIP).
Fix more asserts (WIP).
Fix two more non-string assert messages.