Configfile tokenizer finished

Revamped the tokenizer so that a single shlex instance can be used for
all lines of a file, both simplifying code and making it more efficient.