Implemented ShardedCriteriaImpl.Clone()
Added guard conditions, code cleanup.
Moved mock classes closer to usage
Added ShardedTestCase class

Includes update to NHibernate 4.0.1.