add initial LUCENE-5317 and LUCENE-5319: concordance and co-occur stats code

This code had to be dusted off.  There may be surprises