Match compiler: Inline generated pattern match code for Token::findmatch

Verified the output in build/ stayed the same
if Token::findmatch support is disabled.
Simple constification (needed by the match compiler)
Match compiler: Turn code into a python class

This will make passing around internal states a lot easier
Match compiler: Cosmetic changes after running pylint
Match compiler: Store matchFunctions and matchStrs in the class instead of passing it around
Match compiler: Aggregate match functions with the same pattern / function call signature

Reduces the number of generated functions from 2290 to 1916.