Ensuring that generated order by clause always refers to column in select clause
Fixed unit test assert
Modified unit tests for SQL Server dialects to ensure that generated order by clauses always refer to column(s) in select clause.
Merge pull request #251 from ggeurts/NH3594-Mssql2012Dialect

Fix for NH-3594: MsSql2012Dialect generates invalid SELECT DISTINCT paging or limit queries