SERVER-12038 PipelineD::prepareCursorSource resilient to CQ failure

Query clients should check return value of canonicalize (since e.g.
queries with $meta sort but no $meta projection should fail to
canonicalize).
SERVER-12038 SERVER-12193 LiteParsedQuery validate queries with $meta

- Reject queries that have a normal sort and $meta projection on the
  same field.
- Reject queries that have a $meta sort on a field but no $meta
  projection on that field.
SERVER-12038 Add required $meta proj to CanonicalQueryTest test case
Merge remote-tracking branch 'upstream/master'