Hold project references on Gradle classpath container rather than on the project classpath.

Project references are held on the Gradle classpath container rather than added as project references to the project itself to avoid changes in dependencies causing undesirable changes in .classpath.

This is preparatory work in an effort to allow portions of multi-module projects to be included in an Eclipse workspace, where project references to subprojects that are not open in the workspace are substituted with jar entries representing those subprojects.