Update to Lucene 4.10.1 and fix unit tests

Update to Lucene 4.10.1
Closes #79

[TEST] Move tests scripts to Groovy
Closes #71
Same as above.