CLN: clean up parser options

Also add a test to make sure that the C parser options validation is actually
covered
CLN: remove factorize argument
Merge pull request #5121 from cpcloud/parser-options-mania

CLN: clean up parser options