Fix unnecessary rebuilds of the config_parser.yy file.
Implement class compiler.

Refs #4963
Merge branch 'feature/mkclass-4963' into next

Fixes #4963