NH-3428 Unit test to reproduce issue on SQL2005 and above.

This test runs a query which is distinct and ordered paged past page 1.
NH-3428 Added a check to see if the sortexpression is the alias
Linq/LinqLogging.cs: Avoid initializing proxies present in logged linq expressions (NH-3429).
NH-3436 - add failing test for LINQ query with contains operator running in multiple threads.
Fix for NH-3436
Merge pull request #197 from IDDesigns/NH-3428
Merge branch '3.3.x' into master
Refactoring of ExpressionProcessor