CXX-201 Rename QUERY to MONGO_QUERY

this is pretty minor. Any other macros that are leaked that aren't being undef'd?

LOG is defined in util/log.h, but that header isn't being exported.
I think it might be better to leave these as they were, and just undef/redef those original names in the wrapper headers.