IDomainRepositoryFactory.Create<T> fix.

Wrote a test to assert that IDomainRepositoryFactory.Create<T> does not throw an exception when IDomain.Events is null.  Made it pass.

...  I'm not sure why, but I seem to have updated line endings on some files.  Sorry about that.