Changed ProjectFactory so that it registers each project directly with a ProjectRegistry, instead of via the GradleInternal instance.
Replaced ProjectModuleRegistry.findProject() with getProject() that accepts a project path instead of the dependency descriptor.