SERVER-137120ClosedFixed
Encode query settings into join plan cache key
The classic plan cache key [encodes query settings|https://github.com/10gen/mongo/blob/f5541773c70ff776becf870803ca2835a58f08af/src/mongo/db/query/plan_cache/plan_cache_key_info.h#L47] so that the same shaped query run under a different configuration of query settings will not hit the cache entry. We should do a similar encoding for the join plan cache key.