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
The idea here was to sometime delete other documents than the one we just added.
I think you are here deleting the document you just inserted.