SERVER-13664 never detach filters from inside elemMatch object
(cherry picked from commit 15bd7092e059a66ee74b65da9186c29300b70b2a)
SERVER-13661 increase the maximum allowed depth for query objects
(cherry picked from commit a4fc6b326793de8aaa1301c1c7f20ef71e2d03ea)
SERVER-13666 check that lat/lng are in bounds for near queries even if point is legacy
(cherry picked from commit 3286b208b30c43450354422e554070485f526e7b)
Merge remote-tracking branch 'upstream/v2.6' into v2.6