Added failing tests for NH-3132
Fixed NH-3132
Added failing tests for NH-3139
Fixed NH-3139
Fixed, interceptor now only unwraps proxies of lazy properties
Add test and proposed fixes for NH-3126 (thanks to Luke Burgess)
Test for NH-3147
Fix for NH-3147.
Fix SQL Server dialect paging bug (NH-3138)

The MsSql2005DialectQueryPager was found to be incorrectly identifying
columns in the ORDER BY expression of a query that contains a function
with parameters separated by commas (e.g. "ORDER BY COALESCE(param1,
param2)").

Employed a regular expression for a more sophisticated method of
identifying the columns.
Modify lambda expression to address TeamCity compile error
Formatting cleanups.
AbstractEntityPersister.cs: Remove call to ArrayHelper.ToIntArray() which relied on ISet<> implementing ICollection, which will no longer be true when we switch to SCG.ISet<>.
ArrayHelper.cs: Remove some methods that were unused or easily covered by Linq's ToArray().
CollectionPrinter.cs: Simplify and provide ToString() for IEnumerable instead of just ICollection, since some generic collections don't implement ICollection.
Don't type anything as Set<T> when ISet<T> will do just as fine (facilitate switch to SCG which doesn't have Set<T>).
Switch a bunch of private uses of non-generic ISet to generic ISet<> where this was easy to do, to reduce dependency on types not present in SCG.
Template.cs: Clean line ending, remove unused "using".
Fix line endings, remove unused "using".
SelectFragment.cs: Remove use of non-generic HashedSet.
StatefulPersistenceContext.cs: Remove use of non-generic HashedSet, and also fix what appears to have been the intention (code is untouched since initial porting from Hibernate).
QuerySelect.cs: Replace private use of Iesi.Collections with SCG.HashSet<>.
Replace various private uses of HashetSet<> with HashSet<>.