added tests to ensure that generated eclipse .classpath file has correct sources jar and javadoc jar entry when resolving from maven, ivy, or flatdir repo

- minor enhancements to EclipseClasspathFixture and AbstractIdeIntegrationSpec
- share test code between IdeaSourcesAndJavadocJarsIT and EclipseSourcesAndJavadocJarsIT