Make test data longer in trigrammer tests so tests remain valid when we start optimizing away short ngrams.
Make empty top-level nodes simplify down to ''.

This should make filter logic easier, since there's now only one representation of a null query.
Remove some functions we're not going to need anymore.
Filter short ngrams out of SubstringTrees.