Move the parser's global variables to the ConfigCompiler class

refs #7822