Add OrderedTokenFilter to WildcardNGramPresearcherComponent analysis chain

Document build times are around 40 times higher with this presearcher component
than with the default setup, which is probably due to lots of disk seeks in the
TermsEnumFilter.  OrderedTokenFilter ensures that the token stream being passed
to TermsEnumFilter is in order, which should speed things up.
Commit updates after a fixed number

To stop OOMs, we automatically commit updates in batches of 5000.
Merge remote-tracking branch 'localflax/1.1.x' into topic/aw-parallel