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
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