SERVER-10538 SERVER-11731 change segfault to uassert on improper use of $where
Merge remote-tracking branch 'upstream/v2.2' into v2.2