Add cursor namespace to log_query stream callback
Refactor MONGO_METHOD1() calls in deprecated Mongo error methods

There was previously no test coverage for these deprecated methods, so basic tests were added to ensure a command is actually issued.