make not analyzed field 'hidden' ignored by query stemming XWiki-9232

Here is bug fix and a test for XWiki-9232.

The test has not been written with the recommended Mockito but with the JMock framework because the mockup with Mockito mysteriously fails to work for me. The other Test in this package are also using JMock and i hope this is ok for now.