DERBY-6650: Lucene tests fail on compact profile 2

Implement the IndexInput.slice() method required by Lucene 4.9. Lucene
4.9 works on compact profile 2.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1609655 13f79535-47bb-0310-9956-ffa450edef68