SERVER-12786: make tests work in compatibility shell write mode
SERVER-12866 added explain to canonical query constructor
SERVER-12866 explain queries should not mutate the cache
Merge remote-tracking branch 'upstream/master'