Cleanup championship.parsers.general_parser_functions
The exisiting code did not have typing hints and used a lot of hacks
like comparing int(i) to float(i) to test integerness.
The new implementation re-uses more code, checks that something is an int properly and has types. I checked all calling code and it should not change any behavior.