Issue 745: Perf improvement on the queryable.

Perform query parameterization.

Instead of generating expressions that embed constants directly in the
expression, embed the constant into a container object and generate a
property access expression (same way compiler does a closure). This would
result in EF generating a parameterized SQL query which helps in better
cache hits across the board.