Import of https://code.google.com/p/luke/ to bring up to current version of Lucene