Start of ir runner for preatomish compiler stage.

The basis of this code was a modified Kaliedescope example from the
llvm examples.