Clean Up Case Insensitive Comps in Tokenizer
Some of this is unused; other aspects were reinventing the wheel

to_boolean was doing a lot of extra work to have a case insensitive comparison. This PR removes that code (and heap memory management) while using a cross-platform "strcasecmp" function as defined in `portable.h` already
