LUCENE-5442: ant check-lib-versions will fail the build if there are unexpected version conflicts between direct and transitive dependencies. (merged trunk r1598538)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1598539 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-5708: fix these tests to also 'mimic' previous IWC.clone

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1598545 13f79535-47bb-0310-9956-ffa450edef68