Add a 'switchify' optimization pass. Refs #1278.

Converting if-elses to switch-case could *potentially* change a O(N)
series of tests into an O(1) lookup.
Some tweaks to make CSmith easier to setup / debug.
Fix up the stale CSmith / CReduce code.
temporary hacks