cursor: don't do $query on commands.
database: add some more tracing helpers.
database: perform createUser command.

Fixes CDRIVER-232.