Max AutoCorrector max offence count configurable

The config key is "typo-correction-threshold" and defaults at 2.