LUCENE-5341: automate default codec package extraction for use in the generated Lucene documentation's link to the index file format documentation (merged trunk r1542012)

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