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.
done