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

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