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
All the logic is in the launchTest method, I found it simplier to stick in that place.