ISPN-2833 Add new tests for testing Lucene v3 & v4 as well increasing code coverage

* The remarks from the galder from pull request https://github.com/infinispan/infinispan/pull/1735 are fixed.

* The failing tests are fixed.