Added new n-gram algorithm.
New n-gram algorithm is over 3x faster, and produces much less garbage. Returns Array now instead of List (it's one of those rare cases where it's worth it).
Added CommonTextObjectFactories.
Removed some old code, updated to use the new one.