SERVER-3253 Unsharded $out
ExpressionContext now has the input namespace

This reduces the amount of PipelineD injection and will make sharded
$out easier (SERVER-10097).