Added change suggested by matt sullivan so that NCQRSEnvironment supports
Factories for defaults and not just instances.