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
I know that this is causing errors but TBH I don't like hiding real errors. I think something needs to be fixed on elasticsearch itself. Not sure how though.