Clean up the peephole optimizations and add the move_value
optimization.
Use a direct threaded codegenerator.  This didn't have the impact on
performance I thought it might.