LUCENE-5405: try to notice problems in analysis.

NOCOMMIT, as it were. This PR is here to give people something to start to throw shoes at whilst I write a test.