First implementation of constant propagation

Local constant variables initialized with compile-time constants
are optimized away from the code.
12 files changed